aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/tinderbox-devel
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-20 21:55:30 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-20 21:55:30 +0000
commit5c5e8d60634dfc7b93ab8e3519df9201c078c1fa (patch)
treebf5b28b06f8274d374f05a66629a6900be027f6c /ports-mgmt/tinderbox-devel
parent7d2dfeb52db2f32fea782e6ebf2f032609690eeb (diff)
downloadports-5c5e8d60634dfc7b93ab8e3519df9201c078c1fa.tar.gz
ports-5c5e8d60634dfc7b93ab8e3519df9201c078c1fa.zip
Notes
Diffstat (limited to 'ports-mgmt/tinderbox-devel')
-rw-r--r--ports-mgmt/tinderbox-devel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ports-mgmt/tinderbox-devel/Makefile b/ports-mgmt/tinderbox-devel/Makefile
index aedf176c32fe..c29b26f656c7 100644
--- a/ports-mgmt/tinderbox-devel/Makefile
+++ b/ports-mgmt/tinderbox-devel/Makefile
@@ -23,7 +23,6 @@ OPTIONS= PGSQL "With pgsql" On \
NO_BUILD= yes
USE_APACHE= yes
-USE_PHP= session
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -33,6 +32,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
IGNORE= is useless without a database. Please (re)run 'make config' and choose one of PGSQL and MYSQL
.endif
+USE_PHP= session
+
.if defined(WITH_PGSQL)
USE_PGSQL= yes
USE_PHP+= pgsql
@@ -45,6 +46,8 @@ USE_MYSQL= yes
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
.endif
+.include "${PORTSDIR}/Mk/bsd.php.mk"
+
post-extract:
.for f in inc_ds.php inc_tinderbox.php
${MV} ${WRKSRC}/www-exp/${f} ${WRKSRC}/www-exp/${f}-dist