summaryrefslogtreecommitdiff
path: root/devel/scons-devel/Makefile
blob: 7b1d903d662f5dd7cf17cc7341bb51972550de6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.5 2007/01/02 14:05:59 rillig Exp $
#

DISTNAME=		scons-${SCONSVER}
PKGREVISION=		2
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=scons/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.scons.org/
COMMENT=		Build system, written in Python

SCONSVER=		0.96.91
PLIST_SUBST+=		SCONSVER=${SCONSVER}
INSTALLATION_DIRS=	${PKGMANDIR}/man1

PYDISTUTILSPKG=		yes
PYTHON_PATCH_SCRIPTS=	script/scons script/sconsign

# XXX The dependency on py-xml below is not needed for
# standard operation. There is an extension to scons (bksys)
# however which needs XML processing. Putting a dependency
# on px-xml-for-the-python-version-used-by-scons elsewhere
# would be too complicated.

post-install:
	${INSTALL_MAN} ${WRKSRC}/scons.1 ${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/sconsign.1 ${PREFIX}/${PKGMANDIR}/man1

.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
# XXX see comment above
.include "../../textproc/py-xml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"