summaryrefslogtreecommitdiff
path: root/lang/ruby-devel/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-09 02:33:13 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-09 02:33:13 +0000
commita297e0702ea9b55b55598a47afdbe7d38e704f2f (patch)
treec1b5c7169377238c7feb82c4b22bc21c7b7edaac /lang/ruby-devel/Makefile
parentChase the revise. (diff)
Do a ldconfig before invoking the just installed binary in
post-install. Dig XEmacs' site-lisp directory and RUBY_ELISPDIR.
Notes
Notes: svn path=/head/; revision=43681
Diffstat (limited to 'lang/ruby-devel/Makefile')
-rw-r--r--lang/ruby-devel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/ruby-devel/Makefile b/lang/ruby-devel/Makefile
index 6f061d620813..33ddd6bcbeb5 100644
--- a/lang/ruby-devel/Makefile
+++ b/lang/ruby-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ruby${RUBY_R}
PORTVERSION= ${RUBY_PORTVERSION}
+PORTREVISION= 1
CATEGORIES= lang ruby ipv6
MASTER_SITES= http://www.ruby-lang.org/~knu/ # ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= ${RUBY_VER}
@@ -89,6 +90,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 /^#!/; ' \
@@ -98,6 +100,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)