diff options
Diffstat (limited to 'shells/scsh/Makefile')
-rw-r--r-- | shells/scsh/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/shells/scsh/Makefile b/shells/scsh/Makefile index d2c4dd9b03e..3a4cb28c4da 100644 --- a/shells/scsh/Makefile +++ b/shells/scsh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2010/05/07 12:02:45 jmmv Exp $ +# $NetBSD: Makefile,v 1.41 2011/03/19 03:58:20 obache Exp $ DISTNAME= scsh-0.6.7 PKGREVISION= 1 @@ -9,9 +9,12 @@ MASTER_SITES= http://ftp.scsh.net/pub/scsh/0.6/ \ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.scsh.net/ COMMENT= Unix shell embedded into Scheme, with access to all Posix calls +LICENSE= modified-bsd NOT_FOR_PLATFORM= *-*-alpha # Needs scheme +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes BUILD_TARGET= enough @@ -25,14 +28,16 @@ INSTALLATION_DIRS= share/doc CHECK_WRKREF_SKIP+= lib/scsh/scsh.image CHECK_WRKREF_SKIP+= lib/scsh/stripped-scsh.image -post-configure: - cd ${WRKSRC}/scsh/bsd; ${SED} -e '/LIBGEN/d' sysdep.h >xx ; ${MV} xx sysdep.h +REPLACE_INTERPRETER+= scsh +REPLACE.scsh.old= .*scsh[^[:space:]]* +REPLACE.scsh.new= ${PREFIX}/bin/scsh +REPLACE_FILES.scsh= scsh/ekko.scm post-install: - @strip ${PREFIX}/bin/scsh + @strip ${DESTDIR}${PREFIX}/bin/scsh (cd ${WRKSRC} ; \ - ${INSTALL_DATA} README RELEASE COPYING ${PREFIX}/lib/scsh/doc) - ${RM} -f ${PREFIX}/share/doc/scsh - ${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh + ${INSTALL_DATA} README RELEASE COPYING ${DESTDIR}${PREFIX}/lib/scsh/doc) + ${RM} -f ${DESTDIR}${PREFIX}/share/doc/scsh + ${LN} -fs ${PREFIX}/lib/scsh/doc ${DESTDIR}${PREFIX}/share/doc/scsh .include "../../mk/bsd.pkg.mk" |