1997-01-03 01:37:20 +01:00
|
|
|
# New ports collection makefile for: scsh
|
1997-07-15 14:02:24 +02:00
|
|
|
# Date created: Jul, 15, 1997
|
1997-01-03 01:37:20 +01:00
|
|
|
# Whom: cracauer@cons.org "Martin Cracauer"
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1997-01-03 01:37:20 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= scsh
|
2006-07-29 22:36:35 +02:00
|
|
|
PORTVERSION= 0.6.7
|
2003-08-28 02:09:58 +02:00
|
|
|
CATEGORIES= lang scheme
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF \
|
2003-12-14 20:20:28 +01:00
|
|
|
ftp://ftp.scsh.net/pub/scsh/0.6/
|
1997-01-03 01:37:20 +01:00
|
|
|
|
2007-03-28 00:12:03 +02:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A Unix shell embedded into Scheme, with access to all Posix calls
|
2000-04-21 10:19:33 +02:00
|
|
|
|
2006-07-29 22:36:35 +02:00
|
|
|
CONFLICTS= scheme48-[0-9]*
|
2004-03-30 11:49:03 +02:00
|
|
|
|
2000-04-21 10:19:33 +02:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-Wl,-E"
|
1997-01-03 01:37:20 +01:00
|
|
|
|
1999-02-23 03:20:21 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-03-30 11:49:03 +02:00
|
|
|
.if ${ARCH} != "i386"
|
2006-07-29 22:36:35 +02:00
|
|
|
BROKEN= fails to install on ${ARCH}
|
2003-10-20 12:48:57 +02:00
|
|
|
.endif
|
1999-05-31 06:52:27 +02:00
|
|
|
|
1997-01-03 01:37:20 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-07-15 15:50:44 +02:00
|
|
|
CONFIGURE_ARGS= --with-lib-dirs-list='("${PREFIX}/lib/scsh/0.6")'
|
|
|
|
|
2004-03-30 11:49:03 +02:00
|
|
|
USE_GMAKE= yes
|
1997-01-03 01:37:20 +01:00
|
|
|
ALL_TARGET= enough
|
|
|
|
MAN1= scsh.1
|
2006-07-29 22:36:35 +02:00
|
|
|
STRIP= #empty
|
1997-01-03 01:37:20 +01:00
|
|
|
|
|
|
|
post-install:
|
2003-09-24 11:37:11 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/scsh
|
2000-07-22 12:28:46 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@(cd ${WRKSRC} && \
|
2002-01-14 07:53:27 +01:00
|
|
|
${INSTALL_DATA} README RELEASE COPYING ${PREFIX}/lib/scsh/doc)
|
2000-07-22 12:28:46 +02:00
|
|
|
@${RM} -f ${PREFIX}/share/doc/scsh
|
|
|
|
@${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
|
|
|
|
.else
|
|
|
|
@${RM} -rf ${PREFIX}/lib/scsh/doc
|
|
|
|
.endif
|
2003-05-20 10:47:25 +02:00
|
|
|
@(cd ${WRKSRC} && \
|
|
|
|
${CP} -R emacs ${PREFIX}/lib/scsh/)
|
2002-05-28 21:40:23 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1997-01-03 01:37:20 +01:00
|
|
|
|
1999-02-23 03:20:21 +01:00
|
|
|
.include <bsd.port.post.mk>
|