aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-02-28 23:13:02 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-02-28 23:13:02 +0800
commit21267cd1ef07228e94400d7889028913061bebf4 (patch)
tree14dea6686f00f203652e662de8bc846ff5353e07 /archivers
parent786dee5e4c8572575c434224e81fb6872b8e4cc7 (diff)
downloadfreebsd-ports-gnome-21267cd1ef07228e94400d7889028913061bebf4.tar.gz
freebsd-ports-gnome-21267cd1ef07228e94400d7889028913061bebf4.tar.zst
freebsd-ports-gnome-21267cd1ef07228e94400d7889028913061bebf4.zip
Remove unnecessary rubygem-backports
- Bump PORTREVISION for dependency and package change
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rubygem-fpm/Makefile6
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>