Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2012 04:30:58 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308816 - head/www/tinymce3
Message-ID:  <201212130430.qBD4Uw0V040345@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Dec 13 04:30:58 2012
New Revision: 308816
URL: http://svnweb.freebsd.org/changeset/ports/308816

Log:
  - Update to 3.5.8
  - Add maintainer section
  
  Changes:	http://www.tinymce.com/develop/changelog/index.php?type=tinymce

Modified:
  head/www/tinymce3/Makefile
  head/www/tinymce3/distinfo
  head/www/tinymce3/pkg-plist

Modified: head/www/tinymce3/Makefile
==============================================================================
--- head/www/tinymce3/Makefile	Thu Dec 13 04:30:19 2012	(r308815)
+++ head/www/tinymce3/Makefile	Thu Dec 13 04:30:58 2012	(r308816)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tinymce
-PORTVERSION=	3.5.7
+PORTVERSION=	3.5.8
 CATEGORIES=	www
 MASTER_SITES=	http://cloud.github.com/downloads/${PORTNAME}/${PORTNAME}/ \
 		LOCAL/sunpoet
@@ -15,13 +15,32 @@ NO_BUILD=	yes
 USE_ZIP=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-#post-extract:
-#	@${TOUCH} \
-#		${WRKSRC}/jscripts/tiny_mce/plugins/spellchecker/classes/utils/.keepme \
-#		${WRKSRC}/jscripts/tiny_mce/plugins/spellchecker/includes/.keepme
+post-extract:
+	@${TOUCH} \
+	  	${WRKSRC}/jscripts/tiny_mce/plugins/spellchecker/classes/utils/.keepme \
+		${WRKSRC}/jscripts/tiny_mce/plugins/spellchecker/includes/.keepme
 
 do-install:
 	cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${WWWDIR}/
 	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
 
+# maintainer section:
+
+#MS_DIRRMTRY=	# empty
+MS_EMPTYDIRS=	${WRKDIR}/.ms-empty-directories
+MS_PLIST=	${WRKDIR}/.ms-pkg-plist
+
+genplist: do-clean extract
+	cd ${WRKSRC}/ && \
+		${FIND} -s * -type d -empty | ${XARGS} > ${MS_EMPTYDIRS} && \
+		${SED} 's|[^ ]*|&/.keepme|g' ${MS_EMPTYDIRS} | ${XARGS} -J % ${TOUCH} % && \
+		${FIND} -s * -type f | ${SED} 's|^|%%WWWDIR%%/|' > ${MS_PLIST} && \
+		${FIND} -s * -type d | ${TAIL} -r | ${SED} 's|^|@dirrm %%WWWDIR%%/|' >> ${MS_PLIST} && \
+		${ECHO} '@dirrmtry %%WWWDIR%%' >> ${MS_PLIST}
+#.for dir in ${MS_DIRRMTRY}
+#	${REINPLACE_CMD} '/^@dirrm %%WWWDIR%%\/${dir:C/\//\\\//g}$$/ s|@dirrm|&try|' ${MS_PLIST}
+#.endfor
+	${INSTALL} -m 600 ${MS_PLIST} ${PLIST}
+	${REINPLACE_CMD} -e "/^EMPTYDIRS=/ s|	.*$$|	`${CAT} ${MS_EMPTYDIRS}`|" ${.CURDIR}/Makefile
+	
 .include <bsd.port.mk>

Modified: head/www/tinymce3/distinfo
==============================================================================
--- head/www/tinymce3/distinfo	Thu Dec 13 04:30:19 2012	(r308815)
+++ head/www/tinymce3/distinfo	Thu Dec 13 04:30:58 2012	(r308816)
@@ -1,2 +1,2 @@
-SHA256 (tinymce_3.5.7.zip) = c0a8a037d18aa83f6e3f50766b66602fa631be8d7237d96c39456d0c8476118a
-SIZE (tinymce_3.5.7.zip) = 825411
+SHA256 (tinymce_3.5.8.zip) = 54009b68dc1f59f323beb8d56311a5accc4993fa5ea21128f74f35dc4107a61b
+SIZE (tinymce_3.5.8.zip) = 826406

Modified: head/www/tinymce3/pkg-plist
==============================================================================
--- head/www/tinymce3/pkg-plist	Thu Dec 13 04:30:19 2012	(r308815)
+++ head/www/tinymce3/pkg-plist	Thu Dec 13 04:30:58 2012	(r308816)
@@ -53,7 +53,6 @@
 %%WWWDIR%%/jscripts/tiny_mce/plugins/autoresize/editor_plugin_src.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/autosave/editor_plugin.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js
-%%WWWDIR%%/jscripts/tiny_mce/plugins/autosave/langs/en.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js
@@ -156,10 +155,12 @@
 %%WWWDIR%%/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm
+%%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/classes/utils/.keepme
 %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/css/content.css
 %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/img/wline.gif
+%%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/includes/.keepme
 %%WWWDIR%%/jscripts/tiny_mce/plugins/style/css/props.css
 %%WWWDIR%%/jscripts/tiny_mce/plugins/style/editor_plugin.js
 %%WWWDIR%%/jscripts/tiny_mce/plugins/style/editor_plugin_src.js
@@ -321,8 +322,11 @@
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/style/js
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/style/css
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/style
+@dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/includes
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/img
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/css
+@dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/classes/utils
+@dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker/classes
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/spellchecker
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/searchreplace/langs
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/searchreplace/js
@@ -368,7 +372,6 @@
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/directionality
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/contextmenu
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/bbcode
-@dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/autosave/langs
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/autosave
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/autoresize
 @dirrm %%WWWDIR%%/jscripts/tiny_mce/plugins/autolink
@@ -395,4 +398,4 @@
 @dirrm %%WWWDIR%%/examples/lists
 @dirrm %%WWWDIR%%/examples/css
 @dirrm %%WWWDIR%%/examples
-@dirrm %%WWWDIR%%
+@dirrmtry %%WWWDIR%%



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