blob: 2bf827a2ec4bace16608a6b18acaf4d4aa97e896 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
PORTNAME= tinymce
PORTVERSION= 7.1.1
CATEGORIES= www
MASTER_SITES= http://download.tiny.cloud/tinymce/community/ \
LOCAL/sunpoet
DISTNAME= tinymce_${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Open source JavaScript HTML WYSIWYG editor for web sites
WWW= https://www.tiny.cloud/ \
https://github.com/tinymce/tinymce
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/js/tinymce/license.md
USES= cpe zip
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/tinymce
do-install:
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
# maintainer section:
MS_PLIST= ${WRKDIR}/.ms-pkg-plist
genplist: do-clean extract
@${ECHO_CMD} "@owner www" > ${MS_PLIST}
@${ECHO_CMD} "@group www" >> ${MS_PLIST}
@cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} 's|^|%%WWWDIR%%/|' >> ${MS_PLIST}
@${ECHO_CMD} "@owner" >> ${MS_PLIST}
@${ECHO_CMD} "@group" >> ${MS_PLIST}
@${INSTALL} -m 600 ${MS_PLIST} ${PLIST}
.include <bsd.port.mk>
|