2002-02-28 17:34:21 +01:00
|
|
|
# New ports collection makefile for: php_templates
|
|
|
|
# Date created: Feb 28 2002
|
|
|
|
# Whom: vanilla
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= php-templates
|
2006-04-26 08:09:51 +02:00
|
|
|
PORTVERSION= 1.7.2
|
2002-02-28 17:34:21 +01:00
|
|
|
CATEGORIES= www
|
2009-08-22 02:38:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.7
|
2002-02-28 17:34:21 +01:00
|
|
|
DISTNAME= php_templates-${PORTVERSION}
|
2003-02-24 00:16:57 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
DISTFILES+= php_templates-doc-eng-1.1${EXTRACT_SUFX}
|
|
|
|
.endif
|
2002-02-28 17:34:21 +01:00
|
|
|
|
2004-01-18 11:50:15 +01:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= A template framework for PHP
|
2002-02-28 17:34:21 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/templates
|
2006-04-27 07:53:58 +02:00
|
|
|
USE_DOS2UNIX= yes
|
2002-02-28 17:34:21 +01:00
|
|
|
|
2004-02-09 12:43:38 +01:00
|
|
|
USE_PHP= yes
|
2003-06-06 21:14:50 +02:00
|
|
|
USE_PHPIZE= yes
|
2006-07-05 04:30:58 +02:00
|
|
|
IGNORE_WITH_PHP=5
|
2002-02-28 17:34:21 +01:00
|
|
|
|
2003-06-06 21:14:50 +02:00
|
|
|
CONFIGURE_ARGS= --enable-templates=shared
|
2003-02-24 00:16:57 +01:00
|
|
|
|
2006-04-26 08:09:51 +02:00
|
|
|
SUB_FILES= pkg-message
|
2002-09-03 06:05:05 +02:00
|
|
|
|
2006-04-26 08:09:51 +02:00
|
|
|
PORTDOCS= *
|
2002-09-03 06:05:05 +02:00
|
|
|
|
2002-02-28 17:34:21 +01:00
|
|
|
do-install:
|
2003-06-06 21:14:50 +02:00
|
|
|
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
|
2002-03-27 21:49:17 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/modules/templates.so \
|
2003-06-06 21:14:50 +02:00
|
|
|
${PREFIX}/lib/php/${PHP_EXT_DIR}
|
2003-02-24 00:16:57 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}-doc/* ${DOCSDIR}
|
|
|
|
.endif
|
2002-02-28 17:34:21 +01:00
|
|
|
|
|
|
|
post-install:
|
2002-09-03 06:05:05 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2002-02-28 17:34:21 +01:00
|
|
|
|
2004-02-09 12:43:38 +01:00
|
|
|
.include <bsd.port.mk>
|