1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Support installing multiple versions of ruby_s. (You'll have ruby16_s

and ruby17_s, and ruby_s as a symlink to either)
This commit is contained in:
Akinori MUSHA 2001-05-06 16:46:05 +00:00
parent b41ae583e6
commit 99c64a19db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42335
2 changed files with 8 additions and 6 deletions

View File

@ -19,7 +19,8 @@ USE_RUBY= yes
USE_AUTOCONF= yes
# Beware, we can't statically link the gdbm module because gdbm is GPL'ed.
# Beware, you can't statically link Ruby with GPL'ed libraries,
# which means you can't link such modules as ruby-gdbm within.
EXT_PORTS= archivers/ruby-zlib \
devel/ruby-strscan \
sysutils/ruby-syslog
@ -63,7 +64,7 @@ do-extract:
for x in *; do [ -d $$x ] && echo $$x >> Setup; done)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY}${_RUBY_SUFFIX}_s
${LN} -fs ${RUBY}${_RUBY_SUFFIX}_s ${RUBY}_s
${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY_WITH_SUFFIX}_s
${LN} -fs ${RUBY_WITH_SUFFIX}_s ${RUBY_WITHOUT_SUFFIX}_s
.include <bsd.port.post.mk>

View File

@ -19,7 +19,8 @@ USE_RUBY= yes
USE_AUTOCONF= yes
# Beware, we can't statically link the gdbm module because gdbm is GPL'ed.
# Beware, you can't statically link Ruby with GPL'ed libraries,
# which means you can't link such modules as ruby-gdbm within.
EXT_PORTS= archivers/ruby-zlib \
devel/ruby-strscan \
sysutils/ruby-syslog
@ -63,7 +64,7 @@ do-extract:
for x in *; do [ -d $$x ] && echo $$x >> Setup; done)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY}${_RUBY_SUFFIX}_s
${LN} -fs ${RUBY}${_RUBY_SUFFIX}_s ${RUBY}_s
${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY_WITH_SUFFIX}_s
${LN} -fs ${RUBY_WITH_SUFFIX}_s ${RUBY_WITHOUT_SUFFIX}_s
.include <bsd.port.post.mk>