diff options
author | vanilla <vanilla@FreeBSD.org> | 2002-09-03 12:05:05 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2002-09-03 12:05:05 +0800 |
commit | 42cbad6498316b28257cbe8ac17c5cda2b694f83 (patch) | |
tree | 4a62c60b63799397182994262f22229d3279049a /www | |
parent | f0467c8911efd661bde644142a59910edc2e1d87 (diff) | |
download | freebsd-ports-gnome-42cbad6498316b28257cbe8ac17c5cda2b694f83.tar.gz freebsd-ports-gnome-42cbad6498316b28257cbe8ac17c5cda2b694f83.tar.zst freebsd-ports-gnome-42cbad6498316b28257cbe8ac17c5cda2b694f83.zip |
Upgrade to 1.1.
PR: ports/40829
Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r-- | www/php-templates/Makefile | 21 | ||||
-rw-r--r-- | www/php-templates/distinfo | 2 | ||||
-rw-r--r-- | www/php-templates/pkg-message | 2 | ||||
-rw-r--r-- | www/php-templates/pkg-plist | 3 |
4 files changed, 17 insertions, 11 deletions
diff --git a/www/php-templates/Makefile b/www/php-templates/Makefile index df0ee39c9360..cfa90230c465 100644 --- a/www/php-templates/Makefile +++ b/www/php-templates/Makefile @@ -6,7 +6,7 @@ # PORTNAME= php-templates -PORTVERSION= 0.2 +PORTVERSION= 1.1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -21,24 +21,31 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 USE_LIBTOOL= yes -LIBTOOLFILES= aclocal.m4 +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/templates -CONFIGURE_ARGS+=--enable-templates=shared \ +CONFIGURE_ARGS= --enable-templates=shared \ --with-php-config=${PREFIX}/bin/php-config +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" \ + ${.CURDIR}/pkg-message > ${PKGMESSAGE} + do-install: - @${MKDIR} ${PREFIX}/lib/php/20010901 + @${MKDIR} ${PREFIX}/lib/php/extensions @${INSTALL_DATA} ${WRKSRC}/modules/templates.so \ - ${PREFIX}/lib/php/20010901 + ${PREFIX}/lib/php/extensions post-install: - @${SED} "s!%%LOCALBASE%%!${LOCALBASE}!g;s!%%PREFIX%%!${PREFIX}!g" \ - ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/www/php-templates/distinfo b/www/php-templates/distinfo index 2ccffbc7e274..69d0774af940 100644 --- a/www/php-templates/distinfo +++ b/www/php-templates/distinfo @@ -1 +1 @@ -MD5 (php_templates-0.2.tar.gz) = 1f18df4b54e5f541afaad31f9c3225cc +MD5 (php_templates-1.1.tar.gz) = e7c30fd006f2a63862fdc40b76757f5f diff --git a/www/php-templates/pkg-message b/www/php-templates/pkg-message index ccb49f5a8527..edd4bbb1b95f 100644 --- a/www/php-templates/pkg-message +++ b/www/php-templates/pkg-message @@ -4,6 +4,6 @@ You have installed the php-templates package. Edit %%LOCALBASE%%/etc/php.ini and add: -extension="%%PREFIX%%/lib/php/20010901/templates.so" +extension="%%PREFIX%%/lib/php/extensions/templates.so" ***************************************************************************** diff --git a/www/php-templates/pkg-plist b/www/php-templates/pkg-plist index 3c1ccabdf8a8..c6087436d3cc 100644 --- a/www/php-templates/pkg-plist +++ b/www/php-templates/pkg-plist @@ -1,2 +1 @@ -lib/php/20010901/templates.so -@unexec rmdir %D/lib/php/20010901 2>/dev/null || true +lib/php/extensions/templates.so |