blob: 3e0d69d4ab183c9eb150f58989dff1304e14d81a (
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: babak@farrokhi.net
# $FreeBSD$
PORTNAME= textpattern
PORTVERSION= 4.2.0
CATEGORIES= www
MASTER_SITES= http://textpattern.com/file_download/57/ \
http://freebsd.unixfreunde.de/sources/
MAINTAINER= miwi@FreeBSD.org
COMMENT= A free, flexible, elegant, easy-to-use content management system
NO_BUILD= YES
WANT_PHP_WEB= YES
USE_PHP= mbstring xml mysql pcre
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
-${MKDIR} ${WWWDIR}
@${CP} -R ${WRKSRC}/ ${WWWDIR}/
@${CAT} ${PKGMESSAGE}
create-plist:
@${FIND} -s ${WRKSRC}/${file} -not -type d \
| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
@${FIND} -ds ${WRKSRC}/${file} -type d \
| ${SED} -e 's,^${WRKSRC},@dirrm %%WWWDIR%%,' >> ${PLIST}
.include <bsd.port.mk>
|