diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2004-02-26 19:20:09 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2004-02-26 19:20:09 +0000 |
commit | 7be480ee5d74ff048498affc4b642d0be5142347 (patch) | |
tree | 2f9bbc325056d2d4fafab21eb8fab30520e4bdb4 /lang/ruby16 | |
parent | a6cf5720c796c8010b5b07ed22aa1bc7f367b7bd (diff) | |
download | ports-7be480ee5d74ff048498affc4b642d0be5142347.tar.gz ports-7be480ee5d74ff048498affc4b642d0be5142347.zip |
Notes
Diffstat (limited to 'lang/ruby16')
-rw-r--r-- | lang/ruby16/Makefile | 11 | ||||
-rw-r--r-- | lang/ruby16/pkg-plist | 4 |
2 files changed, 8 insertions, 7 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile index b2b3679a12fe..c87b5ef388df 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= ${MASTER_SITE_SUBDIR_RUBY} @@ -56,7 +57,7 @@ STRIP= # none .endif INSTALLS_SHLIB= yes -MAN1= ruby${_RUBY_SUFFIX}.1 +MAN1= ${RUBY_NAME}.1 .include <bsd.port.pre.mk> @@ -67,7 +68,7 @@ CONFIGURE_ARGS+= --enable-ipv6 .endif .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} -MLINKS= ruby${_RUBY_SUFFIX}.1 ruby${RUBY_R}.1 +MLINKS= ${RUBY_NAME}.1 ruby${RUBY_R}.1 IF_DEFAULT= "" .else IF_DEFAULT= "@comment " @@ -114,10 +115,10 @@ post-install: .endif .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} # Link just installed "ruby" to "ruby16", etc. - ${LN} -f ${RUBY_WITHOUT_SUFFIX}${RUBY_R} ${RUBY_WITH_SUFFIX} - ${LN} -f ${PREFIX}/man/man1/ruby${RUBY_R}.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1 + ${LN} -f ${RUBY_WITH_SUFFIX} ${RUBY_WITHOUT_SUFFIX}${RUBY_R} + ${LN} -f ${PREFIX}/man/man1/${RUBY_NAME}.1 ${PREFIX}/man/man1/ruby${RUBY_R}.1 for f in ${INSTALLED_SCRIPTS}; do \ - ${LN} -f $${f}${RUBY_R} $${f}${_RUBY_SUFFIX}; \ + ${LN} -f $${f}${RUBY_SUFFIX} $${f}${RUBY_R}; \ done .endif ${LDCONFIG} -m ${PREFIX}/lib diff --git a/lang/ruby16/pkg-plist b/lang/ruby16/pkg-plist index f1d200a04290..ece180bb53e8 100644 --- a/lang/ruby16/pkg-plist +++ b/lang/ruby16/pkg-plist @@ -1,7 +1,7 @@ %%IF_DEFAULT%%bin/irb%%RUBY_R%% -bin/irb%%_RUBY_SUFFIX%% +bin/irb%%RUBY_SUFFIX%% %%IF_DEFAULT%%bin/ruby%%RUBY_R%% -bin/ruby%%_RUBY_SUFFIX%% +bin/ruby%%RUBY_SUFFIX%% lib/lib%%RUBY_NAME%%.so lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%% %%RUBY_ARCHLIBDIR%%/config.h |