mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
2a861f63a5
- add stage support Security: 3b86583a-66a7-11e3-868f-0025905a4771
31 lines
743 B
Makefile
31 lines
743 B
Makefile
# Created by: chinsan <chinsan@mail2000.com.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= phpmyfaq
|
|
PORTVERSION= 2.8.4
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.phpmyfaq.de/download/
|
|
|
|
MAINTAINER= flo@FreeBSD.org
|
|
COMMENT= A multilingual, completely database-driven FAQ-system
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
NEED_ROOT= yes
|
|
|
|
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}
|
|
@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/${i} ${STAGEDIR}${WWWDIR}/config
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|