2007-10-08 04:22:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2007/10/08 08:22:40 steven Exp $
|
2004-10-23 08:37:32 -04:00
|
|
|
|
2007-09-10 17:02:25 -04:00
|
|
|
COMMENT= Python-based build system
|
2004-10-23 08:37:32 -04:00
|
|
|
|
2007-09-10 17:02:25 -04:00
|
|
|
VERSION= 0.97
|
2006-04-17 10:57:11 -04:00
|
|
|
DISTNAME= scons-${VERSION}
|
2007-10-08 04:22:38 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-10-23 08:37:32 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.scons.org/
|
|
|
|
|
|
|
|
MAINTAINER= Andrew Dalgleish <openbsd@ajd.net.au>
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scons/}
|
|
|
|
|
2006-06-03 10:40:41 -04:00
|
|
|
MODULES= lang/python
|
2004-10-23 08:37:32 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-04-17 10:57:11 -04:00
|
|
|
SUBST_VARS+= VERSION
|
|
|
|
|
2006-06-03 10:40:41 -04:00
|
|
|
post-extract:
|
|
|
|
@perl -pi -e 's,^#!.*python$$,#!${MODPY_BIN},' \
|
2007-09-10 17:02:25 -04:00
|
|
|
${WRKSRC}/script/scons{,ign,-time}
|
|
|
|
|
2004-10-23 08:37:32 -04:00
|
|
|
post-install:
|
2007-09-10 17:02:25 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/scons{,ign,-time}.1 ${PREFIX}/man/man1
|
2004-10-23 08:37:32 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|