aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-08-16 03:32:27 +0800
committerdanilo <danilo@FreeBSD.org>2014-08-16 03:32:27 +0800
commitf2c638ace4e4e88c9e2f764b12197e6d83a40689 (patch)
treecfd3d9a540d63482ddc0e6cc515be2587a10dd5d /www
parentca4efdc5885ad3c4beec7600db2474dc18a7ca87 (diff)
downloadfreebsd-ports-gnome-f2c638ace4e4e88c9e2f764b12197e6d83a40689.tar.gz
freebsd-ports-gnome-f2c638ace4e4e88c9e2f764b12197e6d83a40689.tar.zst
freebsd-ports-gnome-f2c638ace4e4e88c9e2f764b12197e6d83a40689.zip
- Update from 2.6.27 to 2.6.28
- Take maintainership - Improve COMMENT - Install docs unconditionally - Unmute installation commands
Diffstat (limited to 'www')
-rw-r--r--www/smarty2/Makefile33
-rw-r--r--www/smarty2/distinfo4
2 files changed, 13 insertions, 24 deletions
diff --git a/www/smarty2/Makefile b/www/smarty2/Makefile
index fbc1c96dbaf4..4bc86dbc2963 100644
--- a/www/smarty2/Makefile
+++ b/www/smarty2/Makefile
@@ -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>
diff --git a/www/smarty2/distinfo b/www/smarty2/distinfo
index 0127b68736f4..e0a17fbfda74 100644
--- a/www/smarty2/distinfo
+++ b/www/smarty2/distinfo
@@ -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