aboutsummaryrefslogtreecommitdiffstats
path: root/www/phpmyfaq/Makefile
blob: 96d1c4cb24a497d85ec5d30a1a9f3a7611d862b1 (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
# Created by: chinsan <chinsan@mail2000.com.tw>
# $FreeBSD$

PORTNAME=   phpmyfaq
PORTVERSION=    2.8.23
CATEGORIES= www
MASTER_SITES=   http://www.phpmyfaq.de/download/
DISTNAME=   phpMyFAQ-${PORTVERSION}

MAINTAINER= flo@FreeBSD.org
COMMENT=    Multilingual, completely database-driven FAQ-system

WRKSRC=     ${WRKDIR}/${PORTNAME}

USES=       cpe
USE_PHP=    filter json mysql pcre pdf session xml xmlrpc xmlwriter zlib
FAQ_DIR=    attachments data images inc pdf xml
NO_BUILD=   YES
WANT_PHP_WEB=   YES
NO_ARCH=    YES

do-install:
    @${MKDIR} ${STAGEDIR}${WWWDIR}
    @cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}
.for i in ${FAQ_DIR}
    @${MKDIR} ${STAGEDIR}${WWWDIR}/${i}
.endfor

.include <bsd.port.mk>