Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 01:57:37 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414911 - head/www/smarty2
Message-ID:  <201605100157.u4A1vbFV016216@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue May 10 01:57:37 2016
New Revision: 414911
URL: https://svnweb.freebsd.org/changeset/ports/414911

Log:
  - Update to 2.6.29
  - Add LICENSE
  - Use GITHUB
  
  PR:		209311
  Submitted by:	fullermd@over-yonder.net

Modified:
  head/www/smarty2/Makefile
  head/www/smarty2/distinfo

Modified: head/www/smarty2/Makefile
==============================================================================
--- head/www/smarty2/Makefile	Tue May 10 01:53:04 2016	(r414910)
+++ head/www/smarty2/Makefile	Tue May 10 01:57:37 2016	(r414911)
@@ -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}

Modified: head/www/smarty2/distinfo
==============================================================================
--- head/www/smarty2/distinfo	Tue May 10 01:53:04 2016	(r414910)
+++ head/www/smarty2/distinfo	Tue May 10 01:57:37 2016	(r414911)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605100157.u4A1vbFV016216>