aboutsummaryrefslogtreecommitdiffstats
path: root/databases/phpmyadmin211
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-02-09 19:43:38 +0800
committerale <ale@FreeBSD.org>2004-02-09 19:43:38 +0800
commit64c967a3b7bc5eff3ae52eb167cf7cae1d817643 (patch)
tree5a5b7919d0c88fe51071c6e66890b4b3fd4e7bf7 /databases/phpmyadmin211
parentb6a56540b211f28c52e6af62d7ac3d5a3e01a34c (diff)
downloadfreebsd-ports-graphics-64c967a3b7bc5eff3ae52eb167cf7cae1d817643.tar.gz
freebsd-ports-graphics-64c967a3b7bc5eff3ae52eb167cf7cae1d817643.tar.zst
freebsd-ports-graphics-64c967a3b7bc5eff3ae52eb167cf7cae1d817643.zip
Remove lang/php4/bsd.php.mk and switch every ports depending on PHP to
use Mk/bsd.php.mk. Approved by: nork (mentor/implicitly)
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>