aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-07-20 10:44:26 +0800
committerswills <swills@FreeBSD.org>2011-07-20 10:44:26 +0800
commit08695c5347a285b052eddae193c2544ecc3cc8f9 (patch)
tree319bfcee87f460e9bb9f3c9804e0d83c0e3f36f2 /devel
parentc8ea2296b6859c22a7f3a6526c8707a9cf7aedae (diff)
downloadfreebsd-ports-graphics-08695c5347a285b052eddae193c2544ecc3cc8f9.tar.gz
freebsd-ports-graphics-08695c5347a285b052eddae193c2544ecc3cc8f9.tar.zst
freebsd-ports-graphics-08695c5347a285b052eddae193c2544ecc3cc8f9.zip
- Fix build with Ruby 1.9
- Avoid overwriting rdoc and ri from ruby port (not perfect solution but best I can find at the moment) - Hints from NetBSD pkgsrc PR: ports/158827
Diffstat (limited to 'devel')
-rw-r--r--devel/rubygem-rdoc/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/rubygem-rdoc/Makefile b/devel/rubygem-rdoc/Makefile
index 533fd1a16a1..acb279b5136 100644
--- a/devel/rubygem-rdoc/Makefile
+++ b/devel/rubygem-rdoc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rdoc
PORTVERSION= 3.6.1
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -17,6 +18,11 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-PLIST_FILES= bin/rdoc bin/ri
+GEM_ENV+= RUBYLIB=${PREFIX}/${GEM_LIB_DIR}/lib
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+pre-install:
+RUBYGEM_ARGS+= --bindir ${WRKDIR}
+
+.include <bsd.port.post.mk>