summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-03-11 13:42:47 +0000
committerdirk <dirk@FreeBSD.org>2001-03-11 13:42:47 +0000
commit30b015e09cc2488d7eaa21bd718cf6bb0c90ce2b (patch)
tree8302dfb2b8d8ba421ff3059c1209f1253154abbe /www
parentee76f7697e9afc6be8aec8eea3712088d5176095 (diff)
downloadFreeBSD-ports-30b015e09cc2488d7eaa21bd718cf6bb0c90ce2b.zip
FreeBSD-ports-30b015e09cc2488d7eaa21bd718cf6bb0c90ce2b.tar.gz
Even better way of handling multiple post-extract targets.
Submitted by: jeh
Diffstat (limited to 'www')
-rw-r--r--www/mod_php4/Makefile8
-rw-r--r--www/mod_php4/scripts/configure.php2
-rw-r--r--www/mod_php5/Makefile8
-rw-r--r--www/mod_php5/scripts/configure.php2
4 files changed, 6 insertions, 14 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index a467a67..9c7ba33 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/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_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 986fd90..10fbfbe 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/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 ] && \\
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index a467a67..9c7ba33 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 986fd90..10fbfbe 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 ] && \\
OpenPOWER on IntegriCloud