From owner-freebsd-ports-bugs Tue Feb 4 7:20:26 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74B3137B405 for ; Tue, 4 Feb 2003 07:20:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F59A43F85 for ; Tue, 4 Feb 2003 07:20:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h14FKKNS087307 for ; Tue, 4 Feb 2003 07:20:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h14FKKE2087306; Tue, 4 Feb 2003 07:20:20 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86C4E37B401 for ; Tue, 4 Feb 2003 07:11:09 -0800 (PST) Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 429D243F75 for ; Tue, 4 Feb 2003 07:11:08 -0800 (PST) (envelope-from alex@vaio.alexdupre.com) Received: from vaio.alexdupre.com (localhost [127.0.0.1]) by vaio.alexdupre.com (8.12.2/8.12.2) with ESMTP id h14FJSfY065964 for ; Tue, 4 Feb 2003 16:19:29 +0100 (CET) (envelope-from alex@vaio.alexdupre.com) Received: (from alex@localhost) by vaio.alexdupre.com (8.12.2/8.12.2/Submit) id h14FJRLm065961; Tue, 4 Feb 2003 16:19:27 +0100 (CET) Message-Id: <200302041519.h14FJRLm065961@vaio.alexdupre.com> Date: Tue, 4 Feb 2003 16:19:27 +0100 (CET) From: Alex Dupre Reply-To: Alex Dupre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/47905: [Maintainer Update] Port: php-templates 1.7 Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47905 >Category: ports >Synopsis: [Maintainer Update] Port: php-templates 1.7 >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: Tue Feb 04 07:20:19 PST 2003 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.5-ALEXDUPRE i386 >Organization: >Environment: System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Fri Apr 12 14:12:57 CEST 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386 >Description: Update to 1.7 Install documentation Use new WANT_AUTO****_VER variables Adapt to new mod_php4 port Fix installation with Apache2 >How-To-Repeat: >Fix: --- php-templates.diff begins here --- diff -ruN php-templates.orig/Makefile php-templates/Makefile --- php-templates.orig/Makefile Tue Feb 4 14:59:52 2003 +++ php-templates/Makefile Tue Feb 4 16:05:56 2003 @@ -6,44 +6,53 @@ # PORTNAME= php-templates -PORTVERSION= 1.4 +PORTVERSION= 1.7 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= php_templates-${PORTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +.if !defined(NOPORTDOCS) +DISTFILES+= php_templates-doc-eng-1.1${EXTRACT_SUFX} +.endif MAINTAINER= sysadmin@alexdupre.com -BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \ - autoconf:${PORTSDIR}/devel/autoconf \ - phpize:${PORTSDIR}/www/mod_php4 +WANT_AUTOMAKE_VER= 15 +WANT_AUTOCONF_VER= 253 + +BUILD_DEPENDS= phpize:${PORTSDIR}/www/mod_php4 RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ - ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 + ${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4 USE_LIBTOOL= yes -USE_REINPLACE= yes WRKSRC= ${WRKDIR}/templates CONFIGURE_ARGS= --enable-templates=shared \ --with-php-config=${PREFIX}/bin/php-config +EXT_DIR= 20020429 +PLIST_SUB= EXT_DIR=${EXT_DIR} + PKGMESSAGE= ${WRKDIR}/pkg-message post-extract: - @${REINPLACE_CMD} -e 's/[[:cntrl:]]$$//' ${WRKSRC}/php_templates.h \ - ${WRKSRC}/templates.c ${WRKSRC}/tmpl_lib.c @${ECHO_MSG} "===> PHPizing for ${DISTNAME}" @cd ${WRKSRC} && ${LOCALBASE}/bin/phpize post-build: - @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g" \ + @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%EXT_DIR%%|${EXT_DIR}|g" \ ${.CURDIR}/pkg-message > ${PKGMESSAGE} do-install: - @${MKDIR} ${PREFIX}/lib/php/extensions + @${MKDIR} ${PREFIX}/lib/php/${EXT_DIR} @${INSTALL_DATA} ${WRKSRC}/modules/templates.so \ - ${PREFIX}/lib/php/extensions + ${PREFIX}/lib/php/${EXT_DIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}-doc/* ${DOCSDIR} +.endif post-install: @${CAT} ${PKGMESSAGE} diff -ruN php-templates.orig/distinfo php-templates/distinfo --- php-templates.orig/distinfo Tue Feb 4 14:59:52 2003 +++ php-templates/distinfo Tue Feb 4 15:56:57 2003 @@ -1 +1,2 @@ -MD5 (php_templates-1.4.tar.gz) = 0b7505b57a8eb3aec59df6217699d1f9 +MD5 (php_templates-1.7.tar.gz) = 3c06e17a7477a87baac224046a70163c +MD5 (php_templates-doc-eng-1.1.tar.gz) = ee553f0a1e6dc0b08a1d5a7cd6368c22 diff -ruN php-templates.orig/pkg-message php-templates/pkg-message --- php-templates.orig/pkg-message Tue Feb 4 14:59:52 2003 +++ php-templates/pkg-message Tue Feb 4 15:22:06 2003 @@ -4,6 +4,6 @@ Edit %%LOCALBASE%%/etc/php.ini and add: -extension="%%PREFIX%%/lib/php/extensions/templates.so" +extension="%%PREFIX%%/lib/php/%%EXT_DIR%%/templates.so" ***************************************************************************** diff -ruN php-templates.orig/pkg-plist php-templates/pkg-plist --- php-templates.orig/pkg-plist Tue Feb 4 14:59:52 2003 +++ php-templates/pkg-plist Tue Feb 4 16:07:23 2003 @@ -1 +1,6 @@ -lib/php/extensions/templates.so +lib/php/%%EXT_DIR%%/templates.so +%%PORTDOCS%%share/doc/php-templates/CHANGELOG +%%PORTDOCS%%share/doc/php-templates/php_templates-eng.html +%%PORTDOCS%%share/doc/php-templates/php_templates.css +@unexec rmdir %D/lib/php/%%EXT_DIR%% 2> /dev/null || true +%%PORTDOCS%%@dirrm share/doc/php-templates --- php-templates.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message