summaryrefslogtreecommitdiff
path: root/devel/scons/Makefile
blob: 4937f0b6a5a2fa5f45ab65c48560d44f72d39c9f (plain) (blame)
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
# New ports collection makefile for:	scons
# Date created:				16 December 2001
# Whom:					Peter Haight <peterh@sapros.com>
#
# $FreeBSD$
#

PORTNAME=	scons
PORTVERSION=	0.97
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	perky@FreeBSD.org
COMMENT=	A build tool alternative to make

MAN1=		scons.1 sconsign.1 scons-time.1

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_EGGINFODIR=	${PREFIX}/lib/scons-${PORTVERSION}

PLIST_SUB=	SCONS_VER=${PORTVERSION}

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 250
PLIST_SUB+=	NO_EGG="@comment "
.else
PLIST_SUB+=	NO_EGG=""
.endif

.include <bsd.port.post.mk>