blob: 3a657d840f3e4434081e626e215fa0e84453c6e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.42 2011/12/22 04:37:51 dholland Exp $
DISTNAME= scsh-0.6.7
PKGREVISION= 1
CATEGORIES= shells lang
MASTER_SITES= http://ftp.scsh.net/pub/scsh/0.6/ \
${MASTER_SITE_SOURCEFORGE:=scsh/}
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= ${LP64PLATFORMS} # Not 64-bit clean.
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
BUILD_TARGET= enough
TEST_TARGET= check
PKG_SHELL= bin/scsh
INSTALLATION_DIRS= share/doc
# Build references from dumped environment variables is not a problem.
CHECK_WRKREF_SKIP+= lib/scsh/scsh.image
CHECK_WRKREF_SKIP+= lib/scsh/stripped-scsh.image
REPLACE_INTERPRETER+= scsh
REPLACE.scsh.old= .*scsh[^[:space:]]*
REPLACE.scsh.new= ${PREFIX}/bin/scsh
REPLACE_FILES.scsh= scsh/ekko.scm
post-install:
@strip ${DESTDIR}${PREFIX}/bin/scsh
(cd ${WRKSRC} ; \
${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"
|