ports/52803: [Maintainer Update] www/php-templates
Alex Dupre
sysadmin at alexdupre.com
Fri May 30 09:00:31 UTC 2003
>Number: 52803
>Category: ports
>Synopsis: [Maintainer Update] www/php-templates
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri May 30 02:00:28 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Alex Dupre
>Release: FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.8-ALEXDUPRE i386
>Description:
Unbreak build with new php 4.3.2.
Various fixes.
Require commit of PR 52674.
>How-To-Repeat:
>Fix:
--- php-templates.diff begins here ---
diff -ruN php-templates.orig/Makefile php-templates/Makefile
--- php-templates.orig/Makefile Fri May 30 10:54:02 2003
+++ php-templates/Makefile Fri May 30 10:56:45 2003
@@ -19,27 +19,19 @@
MAINTAINER= sysadmin at alexdupre.com
COMMENT= A template framework for PHP
-BUILD_DEPENDS= phpize:${PORTSDIR}/www/mod_php4
-RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
- ${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4
-
-USE_LIBTOOL= yes
-WANT_AUTOMAKE_VER= 15
-WANT_AUTOCONF_VER= 253
-
WRKSRC= ${WRKDIR}/templates
-CONFIGURE_ARGS= --enable-templates=shared \
- --with-php-config=${PREFIX}/bin/php-config
+USE_PHPIZE= yes
+
+CONFIGURE_ARGS= --enable-templates=shared
EXT_DIR= 20020429
PLIST_SUB= EXT_DIR=${EXT_DIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
-post-extract:
- @${ECHO_MSG} "===> PHPizing for ${DISTNAME}"
- @cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
post-build:
@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%EXT_DIR%%|${EXT_DIR}|g" \
@@ -57,4 +49,4 @@
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- php-templates.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list