mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
It's a template engine for PHP.
This commit is contained in:
parent
c34230526d
commit
2d83155707
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55339
@ -292,6 +292,7 @@
|
||||
SUBDIR += p5-libwww
|
||||
SUBDIR += peacock
|
||||
SUBDIR += pgdriver
|
||||
SUBDIR += php-templates
|
||||
SUBDIR += phpnuke
|
||||
SUBDIR += plugger
|
||||
SUBDIR += pruby
|
||||
|
42
www/php-templates/Makefile
Normal file
42
www/php-templates/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# New ports collection makefile for: php_templates
|
||||
# Date created: Feb 28 2002
|
||||
# Whom: vanilla
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= php-templates
|
||||
PORTVERSION= 0.2
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= php_templates-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \
|
||||
autoconf:${PORTSDIR}/devel/autoconf \
|
||||
phpize:${PORTSDIR}/www/mod_php4
|
||||
RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
|
||||
${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
LIBTOOLFILES= aclocal.m4
|
||||
|
||||
WRKSRC= ${WRKDIR}/templates
|
||||
|
||||
CONFIGURE_ARGS+=--enable-templates=shared \
|
||||
--with-php-config=${PREFIX}/bin/php-config
|
||||
|
||||
post-extract:
|
||||
@${ECHO_MSG} "===> PHPizing for ${DISTNAME}"
|
||||
@cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
|
||||
|
||||
do-install:
|
||||
@${INSTALL} ${WRKSRC}/modules/templates.so \
|
||||
${LOCALBASE}/lib/php/20010901
|
||||
|
||||
post-install:
|
||||
@${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/php-templates/distinfo
Normal file
1
www/php-templates/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (php_templates-0.2.tar.gz) = 1f18df4b54e5f541afaad31f9c3225cc
|
1
www/php-templates/pkg-comment
Normal file
1
www/php-templates/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A template framework for PHP
|
1
www/php-templates/pkg-descr
Normal file
1
www/php-templates/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
A template framework for PHP
|
6
www/php-templates/pkg-message
Normal file
6
www/php-templates/pkg-message
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
You have installed the php-templates package.
|
||||
|
||||
Edit %%LOCALBASE%%/etc/php.ini and add:
|
||||
|
||||
extension="%%LOCALBASE%%/lib/php/20010901/templates.so"
|
1
www/php-templates/pkg-plist
Normal file
1
www/php-templates/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
lib/php/20010901/templates.so
|
Loading…
Reference in New Issue
Block a user