openbsd-ports/devel/scons/Makefile

35 lines
669 B
Makefile
Raw Normal View History

2009-03-15 05:04:34 -04:00
# $OpenBSD: Makefile,v 1.9 2009/03/15 09:04:34 steven Exp $
COMMENT= Python-based build system
2009-03-15 05:04:34 -04:00
VERSION= 1.2.0
DISTNAME= scons-${VERSION}
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/}
MODULES= lang/python
NO_REGRESS= Yes
SUBST_VARS+= VERSION
post-extract:
@perl -pi -e 's,^#!.*python$$,#!${MODPY_BIN},' \
${WRKSRC}/script/scons{,ign,-time}
post-install:
${INSTALL_MAN} ${WRKSRC}/scons{,ign,-time}.1 ${PREFIX}/man/man1
.include <bsd.port.mk>