aboutsummaryrefslogtreecommitdiffstats
path: root/www/phpmyfaq/Makefile
blob: 0722e3bbca9bcb738bbeabb799044c5af55fe6ee (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
# New ports collection makefile for:    phpmyfaq
# Date created:     2005-04-15
# Whom:         chinsan <chinsan@mail2000.com.tw>
#
# $FreeBSD$
#

PORTNAME=   phpmyfaq
PORTVERSION=    2.0.5
CATEGORIES= www
MASTER_SITES=   http://www.phpmyfaq.de/download/

MAINTAINER= farrokhi@FreeBSD.org
COMMENT=    A multilingual, completely database-driven FAQ-system

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_PHP=    mysql pcre pdf session xml xmlrpc zlib
FAQ_DIR=    attachments data images inc pdf xml
NO_BUILD=   YES
WANT_PHP_WEB=   YES

do-install:
    -${MKDIR} ${WWWDIR}
    @cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}
.for i in ${FAQ_DIR}
    -@${MKDIR} ${WWWDIR}/${i}
    @${CHMOD} 777 ${WWWDIR}/${i}
.endfor
    @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>