aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-bdb/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-08-12 09:50:28 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-08-12 09:50:28 +0000
commite096c2c2b8b38d597f9ff5512b1b96b8d160612c (patch)
treebd58afff5d3c329a49b27882cc464244a1341a88 /databases/ruby-bdb/Makefile
parenta968313325f8563699bd1ea4fab5e10874096c88 (diff)
downloadports-e096c2c2b8b38d597f9ff5512b1b96b8d160612c.tar.gz
ports-e096c2c2b8b38d597f9ff5512b1b96b8d160612c.zip
Notes
Diffstat (limited to 'databases/ruby-bdb/Makefile')
-rw-r--r--databases/ruby-bdb/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile
index 9bcdbf685737..17deb040cc61 100644
--- a/databases/ruby-bdb/Makefile
+++ b/databases/ruby-bdb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bdb
-PORTVERSION= 0.5.0
+PORTVERSION= 0.5.1
CATEGORIES= databases ruby
MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -56,6 +56,8 @@ post-build:
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
.endif
+.include <bsd.port.pre.mk>
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/
@@ -64,6 +66,9 @@ post-install:
.for f in ${DOCS}
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
+.if ${RUBY_VER} >= 1.8
+ cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ri-site
+.endif
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>