diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-07 03:43:54 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-07 03:43:54 +0000 |
commit | cf04614d85e2632c11b44e41c0ac6b57eafc321a (patch) | |
tree | 9256aa69d17fc96a310a67f79dc81cb684c9dc9d | |
parent | a7b42644a946a055223261a64b33b5b65fb0929c (diff) | |
download | ports-cf04614d85e2632c11b44e41c0ac6b57eafc321a.tar.gz ports-cf04614d85e2632c11b44e41c0ac6b57eafc321a.zip |
Notes
-rw-r--r-- | www/mod_accounting/Makefile | 15 | ||||
-rw-r--r-- | www/mod_accounting/pkg-plist | 6 |
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%% |