blob: 4b891ea0e9128b3572e719ed4f34164aaeb77498 (
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
|
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= dotclear
PORTVERSION= 2.1.6
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://freebsd.unixfreunde.de/sources/
MAINTAINER= ports@FreeBSD.org
COMMENT= State-of-the-art semantic personal publishing platform
NO_BUILD= yes
USE_PHP= mysql xml simplexml mbstring iconv gd
USE_MYSQL= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
${TOUCH} ${STAGEDIR}${WWWDIR}/inc/config.php.sample
create-plist:
@${FIND} -s ${WRKSRC}/ -not -type d \
| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
@${ECHO_CMD} '@sample(${WWWOWN},,) %%WWWDIR%%/inc/config.php.sample' >> ${PLIST}
@${FIND} -ds ${WRKSRC}/ -type d -empty \
| ${SED} -e 's,^${WRKSRC},@dir %%WWWDIR%%,' >> ${PLIST}
.include <bsd.port.mk>
|