svn commit: r463223 - head/archivers/rubygem-fpm
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Feb 28 15:13:04 UTC 2018
Author: sunpoet
Date: Wed Feb 28 15:13:02 2018
New Revision: 463223
URL: https://svnweb.freebsd.org/changeset/ports/463223
Log:
Remove unnecessary rubygem-backports
- Bump PORTREVISION for dependency and package change
Modified:
head/archivers/rubygem-fpm/Makefile
Modified: head/archivers/rubygem-fpm/Makefile
==============================================================================
--- head/archivers/rubygem-fpm/Makefile Wed Feb 28 15:12:57 2018 (r463222)
+++ head/archivers/rubygem-fpm/Makefile Wed Feb 28 15:13:02 2018 (r463223)
@@ -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-
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>
More information about the svn-ports-all
mailing list