aboutsummaryrefslogtreecommitdiff
path: root/www/mod_accounting/Makefile
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 /www/mod_accounting/Makefile
parenta7b42644a946a055223261a64b33b5b65fb0929c (diff)
Notes
Diffstat (limited to 'www/mod_accounting/Makefile')
-rw-r--r--www/mod_accounting/Makefile15
1 files changed, 9 insertions, 6 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: