[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / shells / scsh

File: [cvs.NetBSD.org] / pkgsrc / shells / scsh / Makefile (download)

Revision 1.38, Fri Mar 16 23:18:42 2007 UTC (13 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.37: +3 -1 lines

Don't require mtree.

# $NetBSD: Makefile,v 1.38 2007/03/16 23:18:42 joerg Exp $

DISTNAME=		scsh-0.6.7
CATEGORIES=		shells lang
MASTER_SITES=		ftp://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

NOT_FOR_PLATFORM=	*-*-alpha	# Needs scheme

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

post-configure:
	cd ${WRKSRC}/scsh/bsd; ${SED} -e '/LIBGEN/d' sysdep.h >xx ; ${MV} xx sysdep.h

post-install:
	@strip ${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

.include "../../mk/bsd.pkg.mk"