aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-06-07 03:43:54 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-06-07 03:43:54 +0000
commitcf04614d85e2632c11b44e41c0ac6b57eafc321a (patch)
tree9256aa69d17fc96a310a67f79dc81cb684c9dc9d
parenta7b42644a946a055223261a64b33b5b65fb0929c (diff)
downloadports-cf04614d85e2632c11b44e41c0ac6b57eafc321a.tar.gz
ports-cf04614d85e2632c11b44e41c0ac6b57eafc321a.zip
Notes
-rw-r--r--www/mod_accounting/Makefile15
-rw-r--r--www/mod_accounting/pkg-plist6
2 files changed, 9 insertions, 12 deletions
diff --git a/www/mod_accounting/Makefile b/www/mod_accounting/Makefile
index aff94adcbc55..8242db0f8281 100644
--- a/www/mod_accounting/Makefile
+++ b/www/mod_accounting/Makefile
@@ -25,18 +25,21 @@ MAKE_ARGS+= APXS="${APXS}"
.include <bsd.port.options.mk>
-.if defined(WITHOUT_PGSQL)
-MAKE_ARGS+= WITHOUT_PGSQL=YES
-.else
+.if defined(WIT_PGSQL)
USE_PGSQL= YES
+AP_EXTRAS+= -DNEED_PGSQL
.endif
-.if defined(WITHOUT_MYSQL)
-MAKE_ARGS+= WITHOUT_MYSQL=YES
-.else
+.if defined(WITH_MYSQL)
USE_MYSQL= YES
+AP_EXTRAS+= -DNEED_MYSQL
.endif
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
+PLIST_FILES+= %%DATADIR%%/schema.sql
+PLIST_DIRS+= %%DATADIR%%
+
PORTDOCS= README FAQ.txt LICENSE
post-install:
diff --git a/www/mod_accounting/pkg-plist b/www/mod_accounting/pkg-plist
deleted file mode 100644
index b7bd8746ab3a..000000000000
--- a/www/mod_accounting/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-%%APACHEMODDIR%%/%%AP_MODULE%%
-@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f
-@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%f
-@unexec echo "===> If you do not plan on reinstalling mod_accounting, you must manually remove"; echo "===> references to it in httpd.conf."
-%%DATADIR%%/schema.sql
-@dirrm %%DATADIR%%