mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
c48beebbda
PR: ports/138759 Submitted by: Alxander Kuznetsov <skritku@gmail.com>
47 lines
954 B
Makefile
47 lines
954 B
Makefile
# New ports collection makefile for: php_templates
|
|
# Date created: Feb 28 2002
|
|
# Whom: vanilla
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= php-templates
|
|
PORTVERSION= 1.7.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.7 \
|
|
SF/${PORTNAME}/${PORTNAME}-doc/html
|
|
DISTNAME= php_templates-${PORTVERSION}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
.if !defined(NOPORTDOCS)
|
|
DISTFILES+= php_templates-doc-eng-1.1${EXTRACT_SUFX}
|
|
.endif
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= A template framework for PHP
|
|
|
|
WRKSRC= ${WRKDIR}/templates
|
|
USE_DOS2UNIX= yes
|
|
|
|
USE_PHP= yes
|
|
USE_PHPIZE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-templates=shared
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= *
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/modules/templates.so \
|
|
${PREFIX}/lib/php/${PHP_EXT_DIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}-doc/* ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|