1505118146
PR: ports/144827 Submitted by: Olivier Duchateau <duchateau.olivier AT gmail.com> (maintainer)
31 lines
719 B
Makefile
31 lines
719 B
Makefile
# New ports collection makefile for: py-waf
|
|
# Date created: 2009-04-29
|
|
# Whom: Olivier Duchateau <duchateau.olivier@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= waf
|
|
DISTVERSION= 1.5.14a
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= duchateau.olivier@gmail.com
|
|
COMMENT= Python-based build system
|
|
|
|
USE_BZIP2= yes
|
|
USE_PYTHON= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/a//}
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} waf-light --make-waf && ${TRUE}
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} waf configure --prefix=${LOCALBASE} && ${TRUE}
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} waf install --yes && ${TRUE}
|
|
|
|
.include <bsd.port.mk>
|