svn commit: r398234 - head/www/rubygem-unicorn

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 30 19:20:08 UTC 2015


Author: amdmi3
Date: Wed Sep 30 19:20:07 2015
New Revision: 398234
URL: https://svnweb.freebsd.org/changeset/ports/398234

Log:
  - Fix shebangs
  
  Approved by:	portmgr blanket

Modified:
  head/www/rubygem-unicorn/Makefile

Modified: head/www/rubygem-unicorn/Makefile
==============================================================================
--- head/www/rubygem-unicorn/Makefile	Wed Sep 30 19:11:45 2015	(r398233)
+++ head/www/rubygem-unicorn/Makefile	Wed Sep 30 19:20:07 2015	(r398234)
@@ -3,7 +3,7 @@
 
 PORTNAME=	unicorn
 PORTVERSION=	4.9.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -20,7 +20,12 @@ RUN_DEPENDS=	rubygem-kgio>=2.6:${PORTSDI
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
+USES=		shebangfix
+SHEBANG_FILES=	test/aggregate.rb
 
 PLIST_FILES=	bin/unicorn bin/unicorn_rails
 
+post-patch:
+	@${REINPLACE_CMD} -e '1s|#!/.*ruby|#!${ruby_CMD}|' ${WRKSRC}/bin/unicorn*
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list