svn commit: r304925 - in head: . www www/smarty2

Greg Larkin glarkin at FreeBSD.org
Wed Sep 26 20:33:57 UTC 2012


Author: glarkin
Date: Wed Sep 26 20:33:56 2012
New Revision: 304925
URL: http://svn.freebsd.org/changeset/ports/304925

Log:
  - Renamed from www/smarty to www/smarty2 to prepare for addition of
    www/smarty3
  - Updated to 2.6.27

Added:
  head/www/smarty2/
     - copied from r304923, head/www/smarty/
Modified:
  head/MOVED
  head/www/Makefile
  head/www/smarty2/Makefile
  head/www/smarty2/distinfo
  head/www/smarty2/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Wed Sep 26 20:31:52 2012	(r304924)
+++ head/MOVED	Wed Sep 26 20:33:56 2012	(r304925)
@@ -3714,3 +3714,4 @@ www/linuxpluginwrapper||2012-09-22|Has e
 net/fping+ipv6|net/fping|2012-09-24|IPv6 support has been merged
 textproc/aspell-without-dicten|textproc/aspell|2012-09-24|The dictionary is no longer installed with aspell
 www/jakarta-jmeter|www/jmeter|2012-09-25|Former Jakarta projects now live on their own
+www/smarty|www/smarty2|2012-09-26|Renamed to prepare for addition of Smarty 3.x to the tree

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Sep 26 20:31:52 2012	(r304924)
+++ head/www/Makefile	Wed Sep 26 20:33:56 2012	(r304925)
@@ -1789,7 +1789,7 @@
     SUBDIR += sitecopy
     SUBDIR += siteframe
     SUBDIR += skytemplate
-    SUBDIR += smarty
+    SUBDIR += smarty2
     SUBDIR += smb_auth
     SUBDIR += snarf
     SUBDIR += snownews

Modified: head/www/smarty2/Makefile
==============================================================================
--- head/www/smarty/Makefile	Wed Sep 26 19:30:18 2012	(r304923)
+++ head/www/smarty2/Makefile	Wed Sep 26 20:33:56 2012	(r304925)
@@ -6,22 +6,29 @@
 #
 
 PORTNAME=	smarty
-PORTVERSION=	2.6.26
+PORTVERSION=	2.6.27
 CATEGORIES=	www
-MASTER_SITES=	http://www.smarty.net/distributions/ \
-		http://www.smarty.net/distributions/manual/en/:manual
+MASTER_SITES=	http://www.smarty.net/files/ \
+		http://www.smarty.net/files/docs/:manual
 DISTFILES=	Smarty-${PORTVERSION}${EXTRACT_SUFX}
-.if !defined(NOPORTDOCS)
-DISTFILES+=	Smarty-${DOCSVERSION}-docs${EXTRACT_SUFX}:manual
-.endif
 
 MAINTAINER=	glarkin at FreeBSD.org
 COMMENT=	The PHP compiling template engine
 
-DOCSVERSION=	2.6.14
+USE_ZIP=	yes
+
+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
@@ -38,13 +45,13 @@ do-install:
 	@${INSTALL_DATA} ${WRKSRC}/libs/internals/* ${DATADIR}/internals
 	@${MKDIR} ${DATADIR}/plugins
 	@${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${DATADIR}/plugins
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for f in BUGS FAQ INSTALL NEWS README
 	@${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
 .endfor
 	@${MKDIR} ${DOCSDIR}/manual
-	@cd ${WRKDIR}/manual && ${FIND} . | ${CPIO} --quiet -dumpR ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/manual
+	@cd ${WRKDIR}/manual-en && ${FIND} . | ${CPIO} --quiet -dumpR ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/manual
 .endif
 
 post-install:

Modified: head/www/smarty2/distinfo
==============================================================================
--- head/www/smarty/distinfo	Wed Sep 26 19:30:18 2012	(r304923)
+++ head/www/smarty2/distinfo	Wed Sep 26 20:33:56 2012	(r304925)
@@ -1,4 +1,4 @@
-SHA256 (Smarty-2.6.26.tar.gz) = 99185a967a6cebdc00f29feb70b113a9970572751892c12673c27dd765d43f99
-SIZE (Smarty-2.6.26.tar.gz) = 153034
-SHA256 (Smarty-2.6.14-docs.tar.gz) = f3d36af8f59ade56d7e5f563273d99e3df2b8a6a86b9fab37a5386a6cae9a401
-SIZE (Smarty-2.6.14-docs.tar.gz) = 137509
+SHA256 (Smarty-2.6.27.zip) = 327504671bee91d014fa2868ca8cdaa90a7ac299495b6c7f2d32ff57cab7ee6b
+SIZE (Smarty-2.6.27.zip) = 194429
+SHA256 (manual-en-2.6.zip) = 694888f142c1eaacc5f442d050bb23292feaf2844af3a69fabd1a15a7f01034b
+SIZE (manual-en-2.6.zip) = 314640

Modified: head/www/smarty2/pkg-plist
==============================================================================
--- head/www/smarty/pkg-plist	Wed Sep 26 19:30:18 2012	(r304923)
+++ head/www/smarty2/pkg-plist	Wed Sep 26 20:33:56 2012	(r304925)
@@ -90,8 +90,6 @@
 %%PORTDOCS%%%%DOCSDIR%%/manual/language.function.mailto.html
 %%PORTDOCS%%%%DOCSDIR%%/manual/language.function.math.html
 %%PORTDOCS%%%%DOCSDIR%%/manual/language.function.php.html
-%%PORTDOCS%%%%DOCSDIR%%/manual/language.function.popup.html
-%%PORTDOCS%%%%DOCSDIR%%/manual/language.function.popup.init.html
 %%PORTDOCS%%%%DOCSDIR%%/manual/language.function.section.html
 %%PORTDOCS%%%%DOCSDIR%%/manual/language.function.strip.html
 %%PORTDOCS%%%%DOCSDIR%%/manual/language.function.textformat.html



More information about the svn-ports-all mailing list