summaryrefslogtreecommitdiffstats
path: root/lang/ruby16/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-06-09 02:33:13 +0000
committerknu <knu@FreeBSD.org>2001-06-09 02:33:13 +0000
commit1bac6e0769e462c6329d315ba8e1be3e2f670678 (patch)
tree749cceac920a8ea48d0bd8698999763b994ba25d /lang/ruby16/Makefile
parent4e12784567cf76657fab9b7e4064a5ce30b2b02f (diff)
downloadFreeBSD-ports-1bac6e0769e462c6329d315ba8e1be3e2f670678.zip
FreeBSD-ports-1bac6e0769e462c6329d315ba8e1be3e2f670678.tar.gz
Do a ldconfig before invoking the just installed binary in
post-install. Dig XEmacs' site-lisp directory and RUBY_ELISPDIR.
Diffstat (limited to 'lang/ruby16/Makefile')
-rw-r--r--lang/ruby16/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index 43762d6..60850d5 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ruby${RUBY_R}
PORTVERSION= ${RUBY_PORTVERSION}
+PORTREVISION= 1
CATEGORIES= lang ruby ipv6
MASTER_SITES= ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= ${RUBY_VER}
@@ -87,6 +88,7 @@ post-install:
.if !empty(RUBY_R)
${LN} -fs ${IRB_WITH_SUFFIX} ${IRB_WITHOUT_SUFFIX}${RUBY_R}
.endif
+ ${LDCONFIG} -m ${LOCALBASE}/lib
${RUBY_WITH_SUFFIX} ${RUBY_FLAGS} -i -p \
-e 'if $$. == 1; ' \
-e ' if /^#!/; ' \
@@ -96,6 +98,8 @@ post-install:
-e ' end;' \
-e 'end' \
${IRB_WITH_SUFFIX}
+ ${MKDIR} ${LOCALBASE}/lib/xemacs/site-lisp
+ ${MKDIR} ${RUBY_ELISPDIR}
${MKDIR} ${RUBY_EXAMPLESDIR}
${MKDIR} ${RUBY_DOCDIR}
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud