mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
General cleanup:
- fix packaging - respect prefix/localbase Pass maintainership to submitter as well. PR: 36382 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
This commit is contained in:
parent
b30ae8637b
commit
b4c77a8441
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56760
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
*****************************************************************************
|
||||
|
@ -1 +1,2 @@
|
||||
lib/php/20010901/templates.so
|
||||
@unexec rmdir %D/lib/php/20010901
|
||||
|
Loading…
Reference in New Issue
Block a user