- Update from 2.6.27 to 2.6.28

- Take maintainership
- Improve COMMENT
- Install docs unconditionally
- Unmute installation commands
This commit is contained in:
Danilo Egea Gondolfo 2014-08-15 19:32:27 +00:00
parent 72e9dca067
commit 21f82c4faa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365028
2 changed files with 13 additions and 24 deletions

View File

@ -2,55 +2,44 @@
# $FreeBSD$
PORTNAME= smarty
PORTVERSION= 2.6.27
PORTVERSION= 2.6.28
CATEGORIES= www
MASTER_SITES= http://www.smarty.net/files/ \
http://www.smarty.net/files/docs/:manual
DISTFILES= Smarty-${PORTVERSION}${EXTRACT_SUFX}
DISTFILES= Smarty-${PORTVERSION}${EXTRACT_SUFX} \
manual-en-${DOCSVERSION}${EXTRACT_SUFX}:manual
MAINTAINER= ports@FreeBSD.org
COMMENT= The PHP compiling template engine
MAINTAINER= danilo@FreeBSD.org
COMMENT= PHP compiling template engine
USES= zip
DOCSVERSION= 2.6
WRKSRC= ${WRKDIR}/Smarty-${PORTVERSION}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
DISTFILES+= manual-en-${DOCSVERSION}${EXTRACT_SUFX}:manual
.endif
NO_BUILD= yes
USE_PHP= pcre
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/Smarty-${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in Config_File.class.php Smarty.class.php Smarty_Compiler.class.php debug.tpl
@${INSTALL_DATA} ${WRKSRC}/libs/$f ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/libs/$f ${STAGEDIR}${DATADIR}
.endfor
@${MKDIR} ${STAGEDIR}${DATADIR}/internals
@${INSTALL_DATA} ${WRKSRC}/libs/internals/* ${STAGEDIR}${DATADIR}/internals
${INSTALL_DATA} ${WRKSRC}/libs/internals/* ${STAGEDIR}${DATADIR}/internals
@${MKDIR} ${STAGEDIR}${DATADIR}/plugins
@${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${STAGEDIR}${DATADIR}/plugins
.if ${PORT_OPTIONS:MDOCS}
${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${STAGEDIR}${DATADIR}/plugins
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in BUGS FAQ INSTALL NEWS README
@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}/manual
@cd ${WRKDIR}/manual-en && ${FIND} . | ${CPIO} --quiet -dumpR ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}/manual
.endif
post-install:
@${CAT} ${PKGMESSAGE}
cd ${WRKDIR}/manual-en && ${FIND} . | ${CPIO} --quiet -dump ${STAGEDIR}${DOCSDIR}/manual
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
SHA256 (Smarty-2.6.27.zip) = 327504671bee91d014fa2868ca8cdaa90a7ac299495b6c7f2d32ff57cab7ee6b
SIZE (Smarty-2.6.27.zip) = 194429
SHA256 (Smarty-2.6.28.zip) = 5fed2bffae2e77710ea0c2edf650e102b91241ba8a56ac5d6e9371aacc4fd6d8
SIZE (Smarty-2.6.28.zip) = 194562
SHA256 (manual-en-2.6.zip) = 694888f142c1eaacc5f442d050bb23292feaf2844af3a69fabd1a15a7f01034b
SIZE (manual-en-2.6.zip) = 314640