aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-12-26 03:45:33 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-12-26 03:45:33 +0800
commitd1181bc22ba645605ce9f34ae9fa2c5c559ad174 (patch)
tree8c5c55f16d54f3f2cbd597e71ae4dc64ad202253
parent988f9197a53e79ff4025816eee79ecccdfc35a91 (diff)
downloadfreebsd-ports-graphics-d1181bc22ba645605ce9f34ae9fa2c5c559ad174.tar.gz
freebsd-ports-graphics-d1181bc22ba645605ce9f34ae9fa2c5c559ad174.tar.zst
freebsd-ports-graphics-d1181bc22ba645605ce9f34ae9fa2c5c559ad174.zip
- Add LICENSE_FILE
- Remove BUILD_DEPENDS - Rework r277976 in a simpler way
-rw-r--r--devel/rubygem-rdoc3/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/devel/rubygem-rdoc3/Makefile b/devel/rubygem-rdoc3/Makefile
index eb53073e6db..e05a12a47e1 100644
--- a/devel/rubygem-rdoc3/Makefile
+++ b/devel/rubygem-rdoc3/Makefile
@@ -11,21 +11,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>