svn commit: r396616 - branches/2015Q3/www/rubygem-merb-core
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Sep 10 22:48:27 UTC 2015
Author: amdmi3
Date: Thu Sep 10 22:48:26 2015
New Revision: 396616
URL: https://svnweb.freebsd.org/changeset/ports/396616
Log:
MFH: r396615
- Add LICENSE_FILE
- Fix shebangs
Approved by: portmgr blanket
Approved by: ports-secteam shebang fix blanket
Modified:
branches/2015Q3/www/rubygem-merb-core/Makefile
Directory Properties:
branches/2015Q3/ (props changed)
Modified: branches/2015Q3/www/rubygem-merb-core/Makefile
==============================================================================
--- branches/2015Q3/www/rubygem-merb-core/Makefile Thu Sep 10 22:46:49 2015 (r396615)
+++ branches/2015Q3/www/rubygem-merb-core/Makefile Thu Sep 10 22:48:26 2015 (r396616)
@@ -3,7 +3,7 @@
PORTNAME= merb-core
PORTVERSION= 1.1.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -11,6 +11,7 @@ MAINTAINER= ruby at FreeBSD.org
COMMENT= Merb. Pocket rocket web framework
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-bundler>=0:${PORTSDIR}/sysutils/rubygem-bundler \
rubygem-erubis>=2.6.2:${PORTSDIR}/www/rubygem-erubis \
@@ -22,7 +23,14 @@ RUN_DEPENDS= rubygem-bundler>=0:${PORTSD
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
+USES= shebangfix
+SHEBANG_FILES= spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/bin/erubis \
+ spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/contrib/erubis
PLIST_FILES= bin/merb
+post-patch:
+ @${REINPLACE_CMD} -i '' -e '1s|/.*ruby|${ruby_CMD}|' \
+ ${WRKSRC}/spec10/public/core_ext/fixtures/gems/bin/edit_json.rb
+
.include <bsd.port.mk>
More information about the svn-ports-branches
mailing list