openbsd-ports/www/pear/pear.port.mk
sthen bed987eb68 set a default PKGNAME in the pear module, ok robert@
PKGNAME ?= pear-${DISTNAME:S/_/-/}
2011-06-04 11:40:00 +00:00

25 lines
494 B
Makefile

# $OpenBSD: pear.port.mk,v 1.5 2011/06/04 11:40:00 sthen Exp $
# PHP PEAR module
PKGNAME?= pear-${DISTNAME:S/_/-/}
RUN_DEPENDS+= www/pear
BUILD_DEPENDS+= ${RUN_DEPENDS}
NO_BUILD= Yes
.if !target(do-regress)
NO_REGRESS= Yes
.endif
MAKE_FILE= ${PORTSDIR}/www/pear/Makefile.pear
FAKE_FLAGS+= WRKINST=${WRKINST} WRKDIR=${WRKDIR}
PREFIX= /var/www
PEAR_LIBDIR= ${PREFIX}/pear/lib
PEAR_PHPBIN= ${LOCALBASE}/bin/php
MASTER_SITES?= http://pear.php.net/get/
EXTRACT_SUFX?= .tgz
CATEGORIES+= pear