summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-03-20 09:44:05 +0000
committerdanfe <danfe@FreeBSD.org>2005-03-20 09:44:05 +0000
commitaf793067792a2bc2ebd9b36eee90f393d14f2c3d (patch)
tree4910d599e25d26e3503a523c774f951cbd1a8849 /www
parent91ecce1ebfb1be22eb670235c7960c14277f6406 (diff)
downloadFreeBSD-ports-af793067792a2bc2ebd9b36eee90f393d14f2c3d.zip
FreeBSD-ports-af793067792a2bc2ebd9b36eee90f393d14f2c3d.tar.gz
Fix removal of extra files after pkg_delete.
PR: ports/77846 Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/mod_auth_pwcheck/Makefile5
-rw-r--r--www/mod_auth_pwcheck/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/www/mod_auth_pwcheck/Makefile b/www/mod_auth_pwcheck/Makefile
index b0d07a1..6e05e1a 100644
--- a/www/mod_auth_pwcheck/Makefile
+++ b/www/mod_auth_pwcheck/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_auth_pwcheck
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.chelcom.ru/~anton/projects/files/
@@ -30,8 +31,9 @@ AP_CATEGORY!= ${APXS} -q CFLAGS 2>/dev/null \
| ${GREP} DRUSSIAN_APACHE >/dev/null \
&& ${ECHO} russian \
|| ${ECHO} www
-AP_TARGET!= ${APXS} -q TARGET 2>/dev/null || ${ECHO}
+AP_TARGET!= ${APXS} -q TARGET 2>/dev/null
AP_LIBEXEC!= ${APXS} -q LIBEXECDIR 2>/dev/null | ${SED} 's@^${PREFIX}/@@'
+AP_SYSCONF!= ${APXS} -q SYSCONFDIR 2>/dev/null
.else
AP_CATEGORY= www
.endif
@@ -40,6 +42,7 @@ AP_PORT= apache13${AP_MOD_SSL_SUFFIX}
AUTH_PWCHECK_DOCS= share/doc/apache/manual/mod/mod_auth_pwcheck
PLIST_SUB= AUTH_PWCHECK_DOCS="${AUTH_PWCHECK_DOCS}" \
AP_LIBEXEC="${AP_LIBEXEC}" \
+ AP_SYSCONF="${AP_SYSCONF}" \
APXS="${APXS}"
.include <bsd.port.post.mk>
diff --git a/www/mod_auth_pwcheck/pkg-plist b/www/mod_auth_pwcheck/pkg-plist
index 317dc86..5b80e7e 100644
--- a/www/mod_auth_pwcheck/pkg-plist
+++ b/www/mod_auth_pwcheck/pkg-plist
@@ -1,4 +1,5 @@
%%AP_LIBEXEC%%/mod_auth_pwcheck.so
%%AUTH_PWCHECK_DOCS%%/index.html
@unexec %%APXS%% -e -A -n auth_pwcheck mod_auth_pwcheck.so
+@unexec /bin/rm %%AP_SYSCONF%%/httpd.conf.bak
@dirrm %%AUTH_PWCHECK_DOCS%%
OpenPOWER on IntegriCloud