diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-02-28 15:13:02 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-02-28 15:13:02 +0000 |
commit | df900ba17be264f71c714e54b9444b3b9a62c60e (patch) | |
tree | 14dea6686f00f203652e662de8bc846ff5353e07 /archivers | |
parent | de4090a01cd8a8738d9beb60fe56325d760b53a8 (diff) |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/rubygem-fpm/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archivers/rubygem-fpm/Makefile b/archivers/rubygem-fpm/Makefile index a35be7781947..30867d13dbd3 100644 --- a/archivers/rubygem-fpm/Makefile +++ b/archivers/rubygem-fpm/Makefile @@ -2,6 +2,7 @@ PORTNAME= fpm PORTVERSION= 1.9.3 +PORTREVISION= 1 CATEGORIES= archivers rubygems MASTER_SITES= RG @@ -12,7 +13,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-arr-pm>=0.0.10:devel/rubygem-arr-pm \ - rubygem-backports>=2.6.2:devel/rubygem-backports \ rubygem-cabin>=0.6.0:devel/rubygem-cabin \ rubygem-childprocess>=0:devel/rubygem-childprocess \ rubygem-clamp>=1.0.0:devel/rubygem-clamp \ @@ -23,6 +23,7 @@ RUN_DEPENDS= rubygem-arr-pm>=0.0.10:devel/rubygem-arr-pm \ rubygem-stud>=0:devel/rubygem-stud NO_ARCH= yes +REINPLACE_ARGS= -i '' USE_RUBY= yes USES= gem @@ -30,5 +31,8 @@ PLIST_FILES= bin/fpm post-patch: @${REINPLACE_CMD} -e '/clamp/ s|1\.0\.0|1.0|' ${WRKSRC}/${GEMSPEC} +# Remove backports + @${REINPLACE_CMD} -e '/backports/d' ${WRKSRC}/${GEMSPEC} + @${REINPLACE_CMD} -e '/require "backports"/d' ${WRKSRC}/lib/fpm/package.rb ${WRKSRC}/lib/fpm/package/*.rb .include <bsd.port.mk> |