svn commit: r331265 - head/www/smarty3

Danilo Egea Gondolfo danilo at FreeBSD.org
Tue Oct 22 13:48:23 UTC 2013


Author: danilo
Date: Tue Oct 22 13:48:22 2013
New Revision: 331265
URL: http://svnweb.freebsd.org/changeset/ports/331265

Log:
  - Update from 3.1.14 to 3.1.15 [1]
  - Add stage support
  
  PR:		ports/183199
  Submitted by:	Michael Fausten <ports at michael-fausten.de> (maintainer) [1]

Modified:
  head/www/smarty3/Makefile
  head/www/smarty3/distinfo

Modified: head/www/smarty3/Makefile
==============================================================================
--- head/www/smarty3/Makefile	Tue Oct 22 13:15:48 2013	(r331264)
+++ head/www/smarty3/Makefile	Tue Oct 22 13:48:22 2013	(r331265)
@@ -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>

Modified: head/www/smarty3/distinfo
==============================================================================
--- head/www/smarty3/distinfo	Tue Oct 22 13:15:48 2013	(r331264)
+++ head/www/smarty3/distinfo	Tue Oct 22 13:48:22 2013	(r331265)
@@ -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


More information about the svn-ports-all mailing list