diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-06-07 11:43:54 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-06-07 11:43:54 +0800 |
commit | 459a1dc0131fbd5f7fc59871981c9f6bb33fbb15 (patch) | |
tree | d8d4abec480d468771b67eec5309a884d6f4c767 | |
parent | 3cfce6bfb64bbf10d8cece63ab540d4f161245a7 (diff) | |
download | freebsd-ports-gnome-459a1dc0131fbd5f7fc59871981c9f6bb33fbb15.tar.gz freebsd-ports-gnome-459a1dc0131fbd5f7fc59871981c9f6bb33fbb15.tar.zst freebsd-ports-gnome-459a1dc0131fbd5f7fc59871981c9f6bb33fbb15.zip |
- And finally, convert to AP_FAST_BUILD/AP_GENPLIST
-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%% |