diff options
author | dirk <dirk@FreeBSD.org> | 2001-03-11 21:42:47 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-03-11 21:42:47 +0800 |
commit | 30b015e09cc2488d7eaa21bd718cf6bb0c90ce2b (patch) | |
tree | 8302dfb2b8d8ba421ff3059c1209f1253154abbe /www/mod_php5 | |
parent | ee76f7697e9afc6be8aec8eea3712088d5176095 (diff) | |
download | freebsd-ports-gnome-30b015e09cc2488d7eaa21bd718cf6bb0c90ce2b.tar.gz freebsd-ports-gnome-30b015e09cc2488d7eaa21bd718cf6bb0c90ce2b.tar.zst freebsd-ports-gnome-30b015e09cc2488d7eaa21bd718cf6bb0c90ce2b.zip |
Even better way of handling multiple post-extract targets.
Submitted by: jeh
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/Makefile | 8 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index a467a671072a..9c7ba331528b 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/Makefile @@ -101,12 +101,6 @@ post-clean: .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif -post-extract: -.if target(post-extract-jstring) - ${MAKE} post-extract-jstring -.endif -.if target(post-extract-ming) - ${MAKE} post-extract-ming -.endif +post-extract: ${POSTEXTRACT} .include <bsd.port.mk> diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 986fd90fe9a6..10fbfbec5abb 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -170,6 +170,7 @@ DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php-4.0RC2_jstring-1.0.tar.gz CONFIGURE_ARGS+=--enable-jstring BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf +POSTEXTRACT+= post-extract-jstring post-extract-jstring: [ -d \${WRKDIR}/jstring ] && \\ @@ -193,6 +194,7 @@ BUILD_DEPENDS+= /nonexistent:\${PORTSDIR}/graphics/ming:extract BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf LIB_DEPENDS+= ming.2:\${PORTSDIR}/graphics/ming +POSTEXTRACT+= post-extract-ming post-extract-ming: [ -d \${PORTSDIR}/graphics/ming/work ] && \\ |