d7f69e47ce
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
32 lines
843 B
Makefile
32 lines
843 B
Makefile
# $NetBSD: Makefile,v 1.20 2003/01/28 22:04:12 jlam Exp $
|
|
# FreeBSD Id: Makefile,v 1.4 1997/07/15 15:00:30 cracauer Exp
|
|
#
|
|
|
|
DISTNAME= scsh-0.5.3
|
|
CATEGORIES= shells lang
|
|
MASTER_SITES= ftp://ftp.scsh.net/pub/scsh/0.5/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.scsh.net/
|
|
COMMENT= Unix shell embedded into Scheme, with access to all Posix calls
|
|
|
|
NOT_FOR_PLATFORM= *-*-alpha # Needs scheme
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
ALL_TARGET= enough
|
|
|
|
USE_PKGINSTALL= yes
|
|
PKG_SHELL= ${PREFIX}/bin/scsh
|
|
|
|
post-configure:
|
|
cd ${WRKSRC}; ${SED} -e '/LIBGEN/d' sysdep.h >xx ; ${MV} xx sysdep.h
|
|
|
|
post-install:
|
|
@strip ${PREFIX}/bin/scsh
|
|
(cd ${WRKSRC} ; \
|
|
${INSTALL_DATA} README RELEASE NEWS COPYING ${PREFIX}/lib/scsh/doc)
|
|
${RM} -f ${PREFIX}/share/doc/scsh
|
|
${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|