Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2015 14:28:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403417 - head/graphics/rubygem-dragonfly
Message-ID:  <201512091428.tB9ESZH8003194@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Dec  9 14:28:35 2015
New Revision: 403417
URL: https://svnweb.freebsd.org/changeset/ports/403417

Log:
  - Add LICENSE_FILE
  - Use USES=shebangfix
  - Bump PORTREVISION for package change

Modified:
  head/graphics/rubygem-dragonfly/Makefile

Modified: head/graphics/rubygem-dragonfly/Makefile
==============================================================================
--- head/graphics/rubygem-dragonfly/Makefile	Wed Dec  9 14:28:31 2015	(r403416)
+++ head/graphics/rubygem-dragonfly/Makefile	Wed Dec  9 14:28:35 2015	(r403417)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dragonfly
 PORTVERSION=	1.0.12
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics rubygems
 MASTER_SITES=	RG
 
@@ -11,6 +11,7 @@ MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	On-the-fly Rack-based image handling framework
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	rubygem-addressable>=2.3:${PORTSDIR}/www/rubygem-addressable \
 		rubygem-multi_json>=1.0:${PORTSDIR}/devel/rubygem-multi_json \
@@ -20,8 +21,9 @@ NO_ARCH=	yes
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
+USES=		shebangfix
 
-post-patch:
-	@${REINPLACE_CMD} -e '1s|#!env|#!/usr/bin/env|' ${WRKSRC}/dev/test_rails
+SHEBANG_FILES=	dev/test_rails
+ruby_OLD_CMD=	"env ruby"
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512091428.tB9ESZH8003194>