don't expect python symlink, use real python binary, i.e. python2.4.

"works fine" alek@
This commit is contained in:
steven 2006-06-03 14:40:41 +00:00
parent 1c9a025fe9
commit e4964ecdbf

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2006/06/03 09:37:09 alek Exp $
# $OpenBSD: Makefile,v 1.4 2006/06/03 14:40:41 steven Exp $
COMMENT= "Python-based build system"
VERSION= 0.96.92
DISTNAME= scons-${VERSION}
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= devel
HOMEPAGE= http://www.scons.org/
@ -19,12 +19,16 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scons/}
MODULES= python
MODULES= lang/python
NO_REGRESS= Yes
SUBST_VARS+= VERSION
post-extract:
@perl -pi -e 's,^#!.*python$$,#!${MODPY_BIN},' \
${WRKSRC}/script/{scons,sconsign}
post-install:
${INSTALL_MAN} ${WRKSRC}/scons.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/sconsign.1 ${PREFIX}/man/man1