1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/tinymce/Makefile
Sunpoet Po-Chuan Hsieh ed682d92fc - Update to 4.3.3
Changes:	https://github.com/tinymce/tinymce/blob/master/changelog.txt
Sponsored by:	PortsCamp Taiwan
2016-01-17 13:08:34 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Nick Hilliard <nick@foobar.org>
# $FreeBSD$
PORTNAME= tinymce
PORTVERSION= 4.3.3
CATEGORIES= www
MASTER_SITES= http://download.moxiecode.com/${PORTNAME}/ \
LOCAL/sunpoet
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Open source JavaScript HTML WYSIWYG editor for web sites
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
CONFLICTS_INSTALL= tinymce-[0-35-9]* tinymce3-[0-9]*
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= cpe zip
post-extract:
@cd ${WRKSRC}/ && ${FIND} -s * -type d -empty | ${XARGS} -I % ${TOUCH} %/.keepme
do-install:
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
# maintainer section:
MS_PLIST= ${WRKDIR}/.ms-pkg-plist
genplist: do-clean extract
${ECHO} "@owner www" > ${MS_PLIST}
${ECHO} "@group www" >> ${MS_PLIST}
cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} 's|^|%%WWWDIR%%/|' >> ${MS_PLIST}
${ECHO} "@owner" >> ${MS_PLIST}
${ECHO} "@group" >> ${MS_PLIST}
${INSTALL} -m 600 ${MS_PLIST} ${PLIST}
.include <bsd.port.mk>