diff options
author | jtb <jtb> | 2001-02-19 21:44:00 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-02-19 21:44:00 +0000 |
commit | fbf1135f63d6b6b0fb98060786fae4cdc921a261 (patch) | |
tree | 01350b78e820e3934da4cab361361b7aa23a6b89 | |
parent | 7e369c731c8c1e903e47338bec7ec2462f2cf467 (diff) | |
download | pkgsrc-fbf1135f63d6b6b0fb98060786fae4cdc921a261.tar.gz |
The installation will replace full path symlinks with relative ones.
No need to cd to ${PREFIX}/bin.
-rw-r--r-- | lang/RScheme/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/lang/RScheme/Makefile b/lang/RScheme/Makefile index 22adb210eae..7a1609b1da6 100644 --- a/lang/RScheme/Makefile +++ b/lang/RScheme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/02/17 09:06:56 agc Exp $ +# $NetBSD: Makefile,v 1.3 2001/02/19 21:44:00 jtb Exp $ DISTNAME= rs-0.7.3.1 PKGNAME= RScheme-0.7.3.1 @@ -10,23 +10,22 @@ HOMEPAGE= http://www.rscheme.org COMMENT= Scheme implementation WRKSRC= ${WRKDIR}/${DISTNAME}/src -HAS_CONFIGURE= YES +HAS_CONFIGURE= #defined CONFIGURE_ARGS+= "--prefix=${PREFIX}/lib/RScheme" ALL_TARGET= base pre-configure: - (cd ${WRKDIR}/${DISTNAME} && ${MAKE} stage1) + cd ${WRKDIR}/${DISTNAME} && ${MAKE} stage1 do-install: - (cd ${WRKSRC} && ${MAKE} install-base && ${MAKE} shell && \ - ${MAKE} install-shell && ${MAKE} packages) + cd ${WRKSRC} && ${MAKE} install-base && ${MAKE} shell && \ + ${MAKE} install-shell && ${MAKE} packages post-install: - @(cd ${PREFIX}/bin ; \ - ${LN} -sf ../lib/RScheme/bin/rs RScheme ; \ - ${LN} -sf ../lib/RScheme/bin/rs rscheme ; \ - ${LN} -sf ../lib/RScheme/bin/rsc RSchemec ; \ - ${LN} -sf ../lib/RScheme/bin/rsc rschemec ) + ${LN} -fs ${PREFIX}/lib/RScheme/bin/rs ${PREFIX}/bin/RScheme + ${LN} -fs ${PREFIX}/lib/RScheme/bin/rs ${PREFIX}/bin/rscheme + ${LN} -fs ${PREFIX}/lib/RScheme/bin/rsc ${PREFIX}/bin/RSchemec + ${LN} -fs ${PREFIX}/lib/RScheme/bin/rsc ${PREFIX}/bin/rschemec ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/RScheme ${INSTALL_DATA} ${WRKSRC}/../COPYING ${WRKSRC}/../README \ ${PREFIX}/share/doc/RScheme |