1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/phpmyfaq/Makefile
Martin Wilke b4578962e4 - Update to 2.0.12
- Take maintainership
2009-03-09 17:34:44 +00:00

34 lines
763 B
Makefile

# New ports collection makefile for: phpmyfaq
# Date created: 2005-04-15
# Whom: chinsan <chinsan@mail2000.com.tw>
#
# $FreeBSD$
#
PORTNAME= phpmyfaq
PORTVERSION= 2.0.12
CATEGORIES= www
MASTER_SITES= http://www.phpmyfaq.de/download/
MAINTAINER= miwi@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>