www/wordpress-plugins

see http://www.woosum.net/wiki/ports/www/wordpress-plugins

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	www/wordpress-plugins/
#	www/wordpress-plugins/pkg-descr
#	www/wordpress-plugins/Makefile
#	www/wordpress-plugins/distinfo
#
echo c - www/wordpress-plugins/
mkdir -p www/wordpress-plugins/ > /dev/null 2>&1
echo x - www/wordpress-plugins/pkg-descr
sed 's/^X//' >www/wordpress-plugins/pkg-descr << '4d7a44ecdbce6aa4b27ae12b45ab1b36'
XWordPress featured plugin collection.
X
XWWW:	http://wordpress.org/extend/plugins/
4d7a44ecdbce6aa4b27ae12b45ab1b36
echo x - www/wordpress-plugins/Makefile
sed 's/^X//' >www/wordpress-plugins/Makefile << 'b3d0ae03ec429d4e3cc72e66b61bb781'
X# New ports collection makefile for:	wordpress-plugins
X# Date created:		2010-02-18
X# Whom:			whitekid@gmail.com
X#
X# $FreeBSD$
X#
X
X
X#
X# TODO: 이거 send-pr해야하나 sem-autolink-uri, syntaxhighlighter가 distfile에
X# 버전 번호가 없어서 쪼까 거시기 함.
X#
X
XPORTNAME=	wordpress-plugins
XPORTVERSION=	20101012
XCATEGORIES=	www
XMASTER_SITES=	http://downloads.wordpress.org/plugin/
XDIST_SUBDIR=	wordpress
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Wordpress plugin collection
X
XRUN_DEPENDS=	wordpress>=0:${PORTSDIR}/www/wordpress
X
XOPTIONS=	AKISMET "Enable Akismet plugin" on \
X		AJAX_PLUGIN_HELPER "Enable Ajax Plugin Helper plugin" on \
X		AUTOLINK_URI "Enable Autolink URI plugin" on \
X		BROKENLINK_CHECKER "Enable Broken Link Checker plugin" on \
X		ENHANCED_META "Enable Enhanced meta plugin" on \
X		LIGHTBOX_2 "Enable Lightbox 2 plugin" on \
X		SYNTAXHIGHLIGHT "Enable SyntaxHighlighter Envolved plugin" on \
X		ADVERTISING_MGR "Enable Advertising Manager plugin" on \
X		IPHONE_THEME "Enable WPtouch iPhone Theme plugin" on \
X		STATS "Enable WordPress.com Stats plugin" on \
X		WP_SUPER_CACHE "Enable WP Super Cache plugin" on \
X		RELATED_WAYS "Enable Related Ways to Take Action plugin" on
X
XNO_BUILD?=	yes
XWRKSRC?=	${WRKDIR}
XPLIST=		${WRKDIR}/plist
X
X.include <bsd.port.pre.mk>
X
XWORDPRESS?=	www/data/wordpress
X
X.if defined(WITH_AKISMET)
XDISTFILES+=	akismet.2.4.0.zip
X.endif
X
X.if defined(WITH_AJAX_PLUGIN_HELPER)
XDISTFILES+=	ajax-plugin-helper.1.0.5.zip
X.endif
X
X.if defined(WITH_AUTOLINK_URI)
XDISTFILES+=	sem-autolink-uri.zip
X.endif
X
X.if defined(WITH_BROKENLINK_CHECKER)
XDISTFILES+=	broken-link-checker.0.9.7.1.zip
X.endif
X
X.if defined(WITH_ENHANCED_META)
XDISTFILES+=	enhanced-meta-widget.3.0.0.zip
X.endif
X
X.if defined(WITH_LIGHTBOX_2)
XDISTFILES+=	lightbox-2.2.9.2.zip
X.endif
X
X.if defined(WITH_SYNTAXHIGHLIGHT)
XDISTFILES+=	syntaxhighlighter.zip
X.endif
X
X.if defined(WITH_ADVERTISING_MGR)
XDISTFILES+=	advertising-manager.3.4.19.zip
X.endif
X
X.if defined(WITH_IPHONE_THEME)
XDISTFILES+=	wptouch.1.9.19.1.zip
X.endif
X
X.if defined(WITH_STATS)
XDISTFILES+=	stats.1.7.5.zip
X.endif
X
X.if defined(WITH_WP_SUPER_CACHE)
XDISTFILES+=	wp-super-cache.0.9.9.6.zip
X.endif
X
X.if defined(WITH_RELATED_WAYS)
XDISTFILES+=	related-ways-to-take-action.0.3.zip
X.endif
X
XWORDPRESS_PLUGINS?=	${WORDPRESS}/wp-content/plugins
XPLUGINS_DIRS=	${DISTFILES:C|\.[\.0-9]*zip||}
X
Xpre-install:
X	@${RM} -rf ${PLIST}
X	@${TOUCH} ${PLIST}
X
X.for f in ${THEME_DIRS}
X	@cd ${WRKSRC} && \
X	${FIND} -s ${f} -type f | ${SED} -e 's|^|${WORDPRESS_PLUGINS}/|' >> ${PLIST} && \
X	${FIND} -d ${f} -type d | ${SED} -e 's|^|@dirrm ${WORDPRESS_PLUGINS}/|' >> ${PLIST}
X.endfor
X
Xdo-install:
X.for f in ${PLUGINS_DIRS}
X	@cd ${WRKSRC} && \
X	${FIND} ${f} -type d -exec ${MKDIR} ${PREFIX}/${WORDPRESS_PLUGINS}/{} \; && \
X	${FIND} ${f} -type f -exec ${CP} {} ${PREFIX}/${WORDPRESS_PLUGINS}/{} \;
X.endfor
X
X.include <bsd.port.post.mk>
b3d0ae03ec429d4e3cc72e66b61bb781
echo x - www/wordpress-plugins/distinfo
sed 's/^X//' >www/wordpress-plugins/distinfo << '665c6c6bcffcc5b721922fe7f3244c4b'
XMD5 (wordpress/akismet.2.4.0.zip) = a3ee38e7f268e9c732b6b9d710707360
XSHA256 (wordpress/akismet.2.4.0.zip) = 707e4843de1ae64581316c53173e71eaed35dd933d73a962bb86661de92f13a2
XSIZE (wordpress/akismet.2.4.0.zip) = 19175
XMD5 (wordpress/ajax-plugin-helper.1.0.5.zip) = 8bffbd5e56f2ddde5b27a570849000db
XSHA256 (wordpress/ajax-plugin-helper.1.0.5.zip) = f7693f61d1789c8a148fc3b86e8c8cf237126164bf842e230ab9c7778fc5ef1f
XSIZE (wordpress/ajax-plugin-helper.1.0.5.zip) = 74764
XMD5 (wordpress/sem-autolink-uri.zip) = 3680fd5c094abcaa781eb52c67fdd576
XSHA256 (wordpress/sem-autolink-uri.zip) = 492029dd3e36a8e0778aa79b059f8b3114a4f27baa96560317d81fb857056bbc
XSIZE (wordpress/sem-autolink-uri.zip) = 3546
XMD5 (wordpress/broken-link-checker.0.9.7.1.zip) = 86d3eaf5d7ffc043ed8320dc53171d38
XSHA256 (wordpress/broken-link-checker.0.9.7.1.zip) = 4f0f6a666905819ae0eb709da88a87a3efe15c52f24cf9ec700da8e907d6773d
XSIZE (wordpress/broken-link-checker.0.9.7.1.zip) = 427927
XMD5 (wordpress/enhanced-meta-widget.3.0.0.zip) = 96beb3da069beb0d6f59d7750454c59c
XSHA256 (wordpress/enhanced-meta-widget.3.0.0.zip) = 80ea79ebf7253ecf69d0f228a217fc44b4224d889e4f80396954eff83c5faace
XSIZE (wordpress/enhanced-meta-widget.3.0.0.zip) = 119998
XMD5 (wordpress/lightbox-2.2.9.2.zip) = 3ccd458762ee0f71c8176bf5400bf465
XSHA256 (wordpress/lightbox-2.2.9.2.zip) = ddb4410346d60fc28255ac8e0df3e90582ec2c964a9c993271bababe2e084e93
XSIZE (wordpress/lightbox-2.2.9.2.zip) = 34390
XMD5 (wordpress/syntaxhighlighter.zip) = 078c5935e9cba3bd093c20c07d956a62
XSHA256 (wordpress/syntaxhighlighter.zip) = 459f4ee816c74d4f7a18120241453d4b39a6423d149c92e643371d7594d917a1
XSIZE (wordpress/syntaxhighlighter.zip) = 177513
XMD5 (wordpress/advertising-manager.3.4.19.zip) = 0e850e26b2acdba248e368585b765a0b
XSHA256 (wordpress/advertising-manager.3.4.19.zip) = 2d625372a9390b9215335b9d13eb9ec8599706fd5ae179cdedfcd34d51bfd663
XSIZE (wordpress/advertising-manager.3.4.19.zip) = 967585
XMD5 (wordpress/wptouch.1.9.19.1.zip) = 3c73968291a263aa50cf7bfcac26902e
XSHA256 (wordpress/wptouch.1.9.19.1.zip) = 43034669fcea38b5eb6384d00d07d0b8b67a1d01d0475fb819023c84f2568e52
XSIZE (wordpress/wptouch.1.9.19.1.zip) = 1144878
XMD5 (wordpress/stats.1.7.5.zip) = 7e23bbe4036707eaac0b50d3368f7925
XSHA256 (wordpress/stats.1.7.5.zip) = c7fa81ca644e8eeb420824f4f1207307a72e6d2a7453431ffefc35db11b0fe46
XSIZE (wordpress/stats.1.7.5.zip) = 302621
XMD5 (wordpress/wp-super-cache.0.9.9.6.zip) = c0681a8cc01e726400b548708f593e72
XSHA256 (wordpress/wp-super-cache.0.9.9.6.zip) = 3f40ff0bbb0f8afafab4226b8144095ba889305c6697a06d8f571eba11387e14
XSIZE (wordpress/wp-super-cache.0.9.9.6.zip) = 410883
XMD5 (wordpress/related-ways-to-take-action.0.3.zip) = 5ea351812bd89f8cf5605421187fc414
XSHA256 (wordpress/related-ways-to-take-action.0.3.zip) = d5996bf73043900519468f419942c5aee90eb45de035d5cb9e98ef160c809024
XSIZE (wordpress/related-ways-to-take-action.0.3.zip) = 43597
665c6c6bcffcc5b721922fe7f3244c4b
exit