svn commit: r383325 - head/benchmarks/rubygem-railsbench

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Apr 5 18:24:37 UTC 2015


Author: sunpoet
Date: Sun Apr  5 18:24:36 2015
New Revision: 383325
URL: https://svnweb.freebsd.org/changeset/ports/383325

Log:
  - Add LICENSE
  - Update RUN_DEPENDS
  - Convert to new options helper
  - Remove OPTIONSFILE

Modified:
  head/benchmarks/rubygem-railsbench/Makefile

Modified: head/benchmarks/rubygem-railsbench/Makefile
==============================================================================
--- head/benchmarks/rubygem-railsbench/Makefile	Sun Apr  5 18:24:32 2015	(r383324)
+++ head/benchmarks/rubygem-railsbench/Makefile	Sun Apr  5 18:24:36 2015	(r383325)
@@ -9,21 +9,19 @@ MASTER_SITES=	RG
 MAINTAINER=	ruby at FreeBSD.org
 COMMENT=	Scripts designed for benchmarking of Rails applications
 
-RUN_DEPENDS=	rubygem-hoe>=1.2.0:${PORTSDIR}/devel/rubygem-hoe
+LICENSE=	GPLv2
+
+RUN_DEPENDS=	rubygem-hoe>=2.4.0:${PORTSDIR}/devel/rubygem-hoe
 
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
+
 PLIST_FILES=	bin/railsbench
 
 OPTIONS_DEFINE=	GRUFF
 GRUFF_DESC=	Plotting of perf data support using gruff
-OPTIONSFILE=	${PORT_DBDIR}/rubygem-${PORTNAME}/options
-
-.include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MGRUFF}
-RUN_DEPENDS+=	rubygem-gruff>=0.2.8:${PORTSDIR}/graphics/rubygem-gruff
-.endif
+GRUFF_RUN_DEPENDS=	rubygem-gruff>=0.2.8:${PORTSDIR}/graphics/rubygem-gruff
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list