aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2016-05-10 09:57:37 +0800
committerdanilo <danilo@FreeBSD.org>2016-05-10 09:57:37 +0800
commit7b1cdbf24fc981156430a0508d155bb376048bee (patch)
treea7351638279e6e22e3979ca52d70d684d9fd519e /www
parent4c0988879e9c0b62afe88a1c2a0f3775e4a72894 (diff)
downloadfreebsd-ports-gnome-7b1cdbf24fc981156430a0508d155bb376048bee.tar.gz
freebsd-ports-gnome-7b1cdbf24fc981156430a0508d155bb376048bee.tar.zst
freebsd-ports-gnome-7b1cdbf24fc981156430a0508d155bb376048bee.zip
- Update to 2.6.29
- Add LICENSE - Use GITHUB PR: 209311 Submitted by: fullermd@over-yonder.net
Diffstat (limited to 'www')
-rw-r--r--www/smarty2/Makefile25
-rw-r--r--www/smarty2/distinfo4
2 files changed, 11 insertions, 18 deletions
diff --git a/www/smarty2/Makefile b/www/smarty2/Makefile
index 4bc86dbc2963..c53dfab51d73 100644
--- a/www/smarty2/Makefile
+++ b/www/smarty2/Makefile
@@ -2,19 +2,16 @@
# $FreeBSD$
PORTNAME= smarty
-PORTVERSION= 2.6.28
+PORTVERSION= 2.6.29
+DISTVERSIONPREFIX= v
CATEGORIES= www
-MASTER_SITES= http://www.smarty.net/files/ \
- http://www.smarty.net/files/docs/:manual
-DISTFILES= Smarty-${PORTVERSION}${EXTRACT_SUFX} \
- manual-en-${DOCSVERSION}${EXTRACT_SUFX}:manual
+MASTER_SITES= http://www.smarty.net/files/docs/:manual
+DISTFILES= manual-en-${PORTVERSION:R}.zip:manual
MAINTAINER= danilo@FreeBSD.org
COMMENT= PHP compiling template engine
-USES= zip
-
-DOCSVERSION= 2.6
+LICENSE= LGPL21
OPTIONS_DEFINE= DOCS
@@ -22,19 +19,15 @@ NO_BUILD= yes
USE_PHP= pcre
WANT_PHP_WEB= yes
-WRKSRC= ${WRKDIR}/Smarty-${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
+USE_GITHUB= yes
+GH_ACCOUNT= smarty-php
+
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}
-.endfor
- @${MKDIR} ${STAGEDIR}${DATADIR}/internals
- ${INSTALL_DATA} ${WRKSRC}/libs/internals/* ${STAGEDIR}${DATADIR}/internals
- @${MKDIR} ${STAGEDIR}${DATADIR}/plugins
- ${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${STAGEDIR}${DATADIR}/plugins
+ (cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in BUGS FAQ INSTALL NEWS README
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
diff --git a/www/smarty2/distinfo b/www/smarty2/distinfo
index e0a17fbfda74..1e8d6bb3e06d 100644
--- a/www/smarty2/distinfo
+++ b/www/smarty2/distinfo
@@ -1,4 +1,4 @@
-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
+SHA256 (smarty-php-smarty-v2.6.29_GH0.tar.gz) = 5dc9fe39b2dce4a89e1efc863aad693aed98a900866b543cce0c051b21d248f1
+SIZE (smarty-php-smarty-v2.6.29_GH0.tar.gz) = 152415