summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-22 13:48:22 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-22 13:48:22 +0000
commite4ddd96cc1f04ec1b9f952c948a0fbff39ff826a (patch)
treed76da9b2fa9a590138674a8dc62743318b09d7ba
parent- This port needs no work for staging. (diff)
- Update from 3.1.14 to 3.1.15 [1]
- Add stage support PR: ports/183199 Submitted by: Michael Fausten <ports@michael-fausten.de> (maintainer) [1]
-rw-r--r--www/smarty3/Makefile16
-rw-r--r--www/smarty3/distinfo4
2 files changed, 5 insertions, 15 deletions
diff --git a/www/smarty3/Makefile b/www/smarty3/Makefile
index 6bcafc04858c..ebd588dc3c47 100644
--- a/www/smarty3/Makefile
+++ b/www/smarty3/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= smarty3
-PORTVERSION= 3.1.14
+PORTVERSION= 3.1.15
CATEGORIES= www
MASTER_SITES= http://www.smarty.net/files/
DISTNAME= Smarty-${PORTVERSION}
@@ -19,18 +19,8 @@ WANT_PHP_WEB= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
-NO_STAGE= yes
do-install:
- @${MKDIR} ${DATADIR}
-.for f in Smarty.class.php SmartyBC.class.php debug.tpl
- ${INSTALL_DATA} ${WRKSRC}/libs/$f ${DATADIR}
-.endfor
- @${MKDIR} ${DATADIR}/plugins
- ${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${DATADIR}/plugins
- @${MKDIR} ${DATADIR}/sysplugins
- ${INSTALL_DATA} ${WRKSRC}/libs/sysplugins/* ${DATADIR}/sysplugins
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>
diff --git a/www/smarty3/distinfo b/www/smarty3/distinfo
index a8b6c5b75237..45f345af352a 100644
--- a/www/smarty3/distinfo
+++ b/www/smarty3/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Smarty-3.1.14.tar.gz) = 0e228b57d2822e63345b5dc0d6e7b23793fe7bf6ee4040de3e74468df1f08103
-SIZE (Smarty-3.1.14.tar.gz) = 204991
+SHA256 (Smarty-3.1.15.tar.gz) = 1fd02d77dba49cca708cb88b017fe7d6195b3b52eee8aad26996f0f69f0131f4
+SIZE (Smarty-3.1.15.tar.gz) = 206011