aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_log_dbd
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-07-16 03:10:58 +0800
committerpav <pav@FreeBSD.org>2007-07-16 03:10:58 +0800
commit899917f96ae730d482409f4715b91b88dbf09d8f (patch)
tree4ff85f4e4e91bebd5e9d31b69be6fa691099fcd3 /www/mod_log_dbd
parent959d8a599171831f0ba85295d8e9aec703df5502 (diff)
downloadfreebsd-ports-graphics-899917f96ae730d482409f4715b91b88dbf09d8f.tar.gz
freebsd-ports-graphics-899917f96ae730d482409f4715b91b88dbf09d8f.tar.zst
freebsd-ports-graphics-899917f96ae730d482409f4715b91b88dbf09d8f.zip
- Fix apxs invocation on package install
- Properly clean up httpd.conf on package deinstall
Diffstat (limited to 'www/mod_log_dbd')
-rw-r--r--www/mod_log_dbd/Makefile1
-rw-r--r--www/mod_log_dbd/pkg-plist4
2 files changed, 3 insertions, 2 deletions
diff --git a/www/mod_log_dbd/Makefile b/www/mod_log_dbd/Makefile
index ab871d59417..55d2593e2e4 100644
--- a/www/mod_log_dbd/Makefile
+++ b/www/mod_log_dbd/Makefile
@@ -6,6 +6,7 @@
PORTNAME= mod_log_dbd
PORTVERSION= 0.2
+PORTREVISION= 1
CATEGORIES= www databases
MASTER_SITES= http://bfoz.net/projects/${PORTNAME}/release/
diff --git a/www/mod_log_dbd/pkg-plist b/www/mod_log_dbd/pkg-plist
index f4733556728..97b0eddd22f 100644
--- a/www/mod_log_dbd/pkg-plist
+++ b/www/mod_log_dbd/pkg-plist
@@ -1,4 +1,4 @@
-@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%
%%APACHEMODDIR%%/%%AP_MODULE%%
-@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
+@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%
+@unexec /usr/bin/sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
@unexec echo "Don't forget to remove all mod_%%AP_NAME%% related directives in your httpd.conf"