summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-04-04 20:32:22 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-04-04 20:32:22 +0000
commit052f61ac99b3c5bc29156ed9996d13763cc1c6f9 (patch)
tree54af63e25364a5b070a79c5b90d367cea3b58c7f /www
parentUpgrade to php-4.0RC1. (diff)
Replace clean target with post-clean target.
Notes
Notes: svn path=/head/; revision=27334
Diffstat (limited to 'www')
-rw-r--r--www/mod_php3/Makefile15
-rw-r--r--www/mod_php4/Makefile15
-rw-r--r--www/mod_php5/Makefile15
3 files changed, 3 insertions, 42 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index d16aaacd2373..8644a1276cf9 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -148,20 +148,7 @@ post-install:
@${ECHO} "and in ${PHPDOCDIR}"
.endif
-# This was copied from bsd.port.mk because a missing post-clean target
-# is needed
-clean:
-.if !defined(NOCLEANDEPENDS)
- @${MAKE} clean-depends
-.endif
- @${ECHO_MSG} "===> Cleaning for ${PKGNAME}"
- @if [ -d ${WRKDIR} ]; then \
- if [ -w ${WRKDIR} ]; then \
- ${RM} -rf ${WRKDIR}; \
- else \
- ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
- fi; \
- fi
+post-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index da2931dbdd44..c7317d41c8a8 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -142,20 +142,7 @@ post-install:
@${ECHO} "and in ${PHPDOCDIR}"
.endif
-# This was copied from bsd.port.mk because a missing post-clean target
-# is needed
-clean:
-.if !defined(NOCLEANDEPENDS)
- @${MAKE} clean-depends
-.endif
- @${ECHO_MSG} "===> Cleaning for ${PKGNAME}"
- @if [ -d ${WRKDIR} ]; then \
- if [ -w ${WRKDIR} ]; then \
- ${RM} -rf ${WRKDIR}; \
- else \
- ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
- fi; \
- fi
+post-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index da2931dbdd44..c7317d41c8a8 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -142,20 +142,7 @@ post-install:
@${ECHO} "and in ${PHPDOCDIR}"
.endif
-# This was copied from bsd.port.mk because a missing post-clean target
-# is needed
-clean:
-.if !defined(NOCLEANDEPENDS)
- @${MAKE} clean-depends
-.endif
- @${ECHO_MSG} "===> Cleaning for ${PKGNAME}"
- @if [ -d ${WRKDIR} ]; then \
- if [ -w ${WRKDIR} ]; then \
- ${RM} -rf ${WRKDIR}; \
- else \
- ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
- fi; \
- fi
+post-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)