aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-28 04:49:17 +0800
committerpetef <petef@FreeBSD.org>2002-03-28 04:49:17 +0800
commit5faa2c7d59b201d359bb26caaa27d895d8901289 (patch)
treea21eece1f64f334747c6e11c886b7bb6d84a5e0c /www
parent2534afe26de380dd2e8f047daf4624a8c4a19677 (diff)
downloadfreebsd-ports-gnome-5faa2c7d59b201d359bb26caaa27d895d8901289.tar.gz
freebsd-ports-gnome-5faa2c7d59b201d359bb26caaa27d895d8901289.tar.zst
freebsd-ports-gnome-5faa2c7d59b201d359bb26caaa27d895d8901289.zip
General cleanup:
- fix packaging - respect prefix/localbase Pass maintainership to submitter as well. PR: 36382 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Diffstat (limited to 'www')
-rw-r--r--www/php-templates/Makefile10
-rw-r--r--www/php-templates/pkg-descr10
-rw-r--r--www/php-templates/pkg-message5
-rw-r--r--www/php-templates/pkg-plist1
4 files changed, 20 insertions, 6 deletions
diff --git a/www/php-templates/Makefile b/www/php-templates/Makefile
index bb609ad99635..df0ee39c9360 100644
--- a/www/php-templates/Makefile
+++ b/www/php-templates/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= php_templates-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sysadmin@alexdupre.com
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \
autoconf:${PORTSDIR}/devel/autoconf \
@@ -33,10 +33,12 @@ post-extract:
@cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
do-install:
- @${INSTALL} ${WRKSRC}/modules/templates.so \
- ${LOCALBASE}/lib/php/20010901
+ @${MKDIR} ${PREFIX}/lib/php/20010901
+ @${INSTALL_DATA} ${WRKSRC}/modules/templates.so \
+ ${PREFIX}/lib/php/20010901
post-install:
- @${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}
+ @${SED} "s!%%LOCALBASE%%!${LOCALBASE}!g;s!%%PREFIX%%!${PREFIX}!g" \
+ ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/php-templates/pkg-descr b/www/php-templates/pkg-descr
index d84b35c1702c..51b108b7864b 100644
--- a/www/php-templates/pkg-descr
+++ b/www/php-templates/pkg-descr
@@ -1 +1,9 @@
-A template framework for PHP
+php_templates is an extension to PHP language which provides
+easier and faster work with templates files.
+This engine works much faster than any existing template library
+written in PHP.
+
+WWW: http://sourceforge.net/projects/php-templates/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/www/php-templates/pkg-message b/www/php-templates/pkg-message
index 79bc88bb1684..ccb49f5a8527 100644
--- a/www/php-templates/pkg-message
+++ b/www/php-templates/pkg-message
@@ -1,6 +1,9 @@
+*****************************************************************************
You have installed the php-templates package.
Edit %%LOCALBASE%%/etc/php.ini and add:
-extension="%%LOCALBASE%%/lib/php/20010901/templates.so"
+extension="%%PREFIX%%/lib/php/20010901/templates.so"
+
+*****************************************************************************
diff --git a/www/php-templates/pkg-plist b/www/php-templates/pkg-plist
index ec8b94a9c299..9b05d2371e21 100644
--- a/www/php-templates/pkg-plist
+++ b/www/php-templates/pkg-plist
@@ -1 +1,2 @@
lib/php/20010901/templates.so
+@unexec rmdir %D/lib/php/20010901