aboutsummaryrefslogtreecommitdiffstats
path: root/databases/phpmyadmin211
diff options
context:
space:
mode:
Diffstat (limited to 'databases/phpmyadmin211')
-rw-r--r--databases/phpmyadmin211/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/databases/phpmyadmin211/Makefile b/databases/phpmyadmin211/Makefile
index 705eada12dd..f6aa95209b1 100644
--- a/databases/phpmyadmin211/Makefile
+++ b/databases/phpmyadmin211/Makefile
@@ -28,17 +28,13 @@ MYADMDIR?= www/data/phpMyAdmin
PHP_SUFX= php3
EXTRA_PATCHES= files/fix-libraries::display_tbl.lib.php3 files/fix-tbl_relation.php3
.else
+USE_PHP= yes
PHP_SUFX= php
EXTRA_PATCHES= files/fix-libraries::display_tbl.lib.php files/fix-tbl_relation.php
.endif
PLIST_SUB+= MYADMDIR=${MYADMDIR} PHP_SUFX=${PHP_SUFX}
-.include <bsd.port.pre.mk>
-.if !defined(WITH_PHP3)
-.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
-.endif
-
post-patch:
@${MV} ${WRKSRC}/config.inc.${PHP_SUFX} ${WRKSRC}/config.inc.${PHP_SUFX}.sample
@${RM} ${WRKSRC}/*.orig ${WRKSRC}/libraries/*.orig
@@ -50,4 +46,4 @@ do-install:
then ${MKDIR} ${PREFIX}/${MYADMDIR}$${0#${WRKSRC}}; \
else ${INSTALL_DATA} $$0 ${PREFIX}/${MYADMDIR}$${0#${WRKSRC}}; fi'
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>