2017-01-19 19:52:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.45 2017/01/19 18:52:25 agc Exp $
|
1997-10-27 05:51:39 +01:00
|
|
|
|
2006-09-03 13:39:08 +02:00
|
|
|
DISTNAME= scsh-0.6.7
|
2010-05-07 14:02:43 +02:00
|
|
|
PKGREVISION= 1
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= shells lang
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= http://ftp.scsh.net/pub/scsh/0.6/
|
|
|
|
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=scsh/}
|
1997-10-27 05:51:39 +01:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-04-01 05:13:41 +02:00
|
|
|
HOMEPAGE= http://www.scsh.net/
|
2001-02-17 18:31:58 +01:00
|
|
|
COMMENT= Unix shell embedded into Scheme, with access to all Posix calls
|
2011-03-19 04:58:20 +01:00
|
|
|
LICENSE= modified-bsd
|
1997-10-27 05:51:39 +01:00
|
|
|
|
2015-01-04 05:04:23 +01:00
|
|
|
BROKEN_ON_PLATFORM= ${LP64PLATFORMS} # Not 64-bit clean.
|
2000-02-05 07:04:09 +01:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1997-10-27 05:51:39 +01:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= enough
|
2003-06-26 16:51:00 +02:00
|
|
|
TEST_TARGET= check
|
1998-03-10 17:23:40 +01:00
|
|
|
|
2005-07-29 20:32:17 +02:00
|
|
|
PKG_SHELL= bin/scsh
|
2002-11-17 10:01:59 +01:00
|
|
|
|
2007-03-17 00:18:42 +01:00
|
|
|
INSTALLATION_DIRS= share/doc
|
|
|
|
|
2005-07-17 17:11:36 +02:00
|
|
|
# Build references from dumped environment variables is not a problem.
|
2006-12-06 19:59:28 +01:00
|
|
|
CHECK_WRKREF_SKIP+= lib/scsh/scsh.image
|
|
|
|
CHECK_WRKREF_SKIP+= lib/scsh/stripped-scsh.image
|
2005-07-17 17:11:36 +02:00
|
|
|
|
2011-03-19 04:58:20 +01:00
|
|
|
REPLACE_INTERPRETER+= scsh
|
|
|
|
REPLACE.scsh.old= .*scsh[^[:space:]]*
|
|
|
|
REPLACE.scsh.new= ${PREFIX}/bin/scsh
|
|
|
|
REPLACE_FILES.scsh= scsh/ekko.scm
|
1997-10-27 05:51:39 +01:00
|
|
|
|
|
|
|
post-install:
|
2011-03-19 04:58:20 +01:00
|
|
|
@strip ${DESTDIR}${PREFIX}/bin/scsh
|
1997-10-27 05:51:39 +01:00
|
|
|
(cd ${WRKSRC} ; \
|
2011-03-19 04:58:20 +01:00
|
|
|
${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
|
1997-10-27 05:51:39 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|