aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-12-26 03:45:28 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-12-26 03:45:28 +0800
commit988f9197a53e79ff4025816eee79ecccdfc35a91 (patch)
tree6924a11b192eee7bcfbb66660faa024e48ce6289
parent05fcf7b115a9a30cea7044e0600190b782e1835c (diff)
downloadfreebsd-ports-gnome-988f9197a53e79ff4025816eee79ecccdfc35a91.tar.gz
freebsd-ports-gnome-988f9197a53e79ff4025816eee79ecccdfc35a91.tar.zst
freebsd-ports-gnome-988f9197a53e79ff4025816eee79ecccdfc35a91.zip
- Update to 4.2.1
- Add LICENSE_FILE - Remove BUILD_DEPENDS - Rework r277976 in a simpler way Changes: https://github.com/rdoc/rdoc/blob/master/History.rdoc
-rw-r--r--devel/rubygem-rdoc/Makefile15
-rw-r--r--devel/rubygem-rdoc/distinfo4
2 files changed, 7 insertions, 12 deletions
diff --git a/devel/rubygem-rdoc/Makefile b/devel/rubygem-rdoc/Makefile
index c9d3bd64189c..b31da5fd92f9 100644
--- a/devel/rubygem-rdoc/Makefile
+++ b/devel/rubygem-rdoc/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= rdoc
-PORTVERSION= 4.2.0
+PORTVERSION= 4.2.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -10,21 +10,16 @@ COMMENT= RDoc produces HTML and command-line documentation for Ruby projects
LICENSE= GPLv2 RUBY
LICENSE_COMB= dual
+LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE.rdoc
-BUILD_DEPENDS= rubygem-json>=1.4:${PORTSDIR}/devel/rubygem-json
RUN_DEPENDS= rubygem-json>=1.4:${PORTSDIR}/devel/rubygem-json
NO_ARCH= yes
-
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-GEM_ENV+= RUBYLIB=${PREFIX}/${GEM_LIB_DIR}/lib
-
-.include <bsd.port.pre.mk>
-
-pre-install:
-RUBYGEM_ARGS+= --bindir ${WRKDIR}
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/bin/rdoc ${STAGEDIR}${PREFIX}/bin/ri
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/rubygem-rdoc/distinfo b/devel/rubygem-rdoc/distinfo
index b399ed91f3f6..e11a8a4e498d 100644
--- a/devel/rubygem-rdoc/distinfo
+++ b/devel/rubygem-rdoc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rubygem/rdoc-4.2.0.gem) = 391bfe3484a69db2cfa0fa32eed9010a7878b33ae645d67558d1806c847290cc
-SIZE (rubygem/rdoc-4.2.0.gem) = 735232
+SHA256 (rubygem/rdoc-4.2.1.gem) = 81207a9d3ef9e60fc42bf3c6569373cb32397a16af370ca6be6dc71b358df839
+SIZE (rubygem/rdoc-4.2.1.gem) = 737280