1
0
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:
Vanilla I. Shu 2002-02-28 16:34:21 +00:00
parent c34230526d
commit 2d83155707
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55339
7 changed files with 53 additions and 0 deletions

View File

@ -292,6 +292,7 @@
SUBDIR += p5-libwww
SUBDIR += peacock
SUBDIR += pgdriver
SUBDIR += php-templates
SUBDIR += phpnuke
SUBDIR += plugger
SUBDIR += pruby

View 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>

View File

@ -0,0 +1 @@
MD5 (php_templates-0.2.tar.gz) = 1f18df4b54e5f541afaad31f9c3225cc

View File

@ -0,0 +1 @@
A template framework for PHP

View File

@ -0,0 +1 @@
A template framework for PHP

View 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"

View File

@ -0,0 +1 @@
lib/php/20010901/templates.so