aboutsummaryrefslogtreecommitdiffstats
path: root/devel/scons/Makefile
blob: 82b5593558e199900e904dd4f80793b9d6b113c3 (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
34
35
# New ports collection makefile for:    scons
# Date created:             16 December 2001
# Whom:                 Peter Haight <peterh@sapros.com>
#
# $FreeBSD$
#

PORTNAME=   scons
PORTVERSION=    2.1.0
CATEGORIES= devel python
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}

MAINTAINER= gavin@16degrees.com.au
COMMENT=    A build tool alternative to make

MAKE_JOBS_SAFE= yes

.if !defined (NO_INSTALL_MANPAGES)
MAN1=       scons.1 sconsign.1 scons-time.1
.endif

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

PLIST_SUB+= SCONS_VER=${PORTVERSION} \
        PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}

.include <bsd.port.pre.mk>

.if defined (NO_INSTALL_MANPAGES)
PYDISTUTILS_INSTALLARGS+=   --no-install-man
.endif

.include <bsd.port.post.mk>