mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
c3aed1b430
PR: 146962 147077 Submitted by: Florian Smeets <flo@kasimir.com> (maintainer)
34 lines
783 B
Makefile
34 lines
783 B
Makefile
# New ports collection makefile for: phpmyfaq
|
|
# Date created: 2005-04-15
|
|
# Whom: chinsan <chinsan@mail2000.com.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= phpmyfaq
|
|
PORTVERSION= 2.6.5
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.phpmyfaq.de/download/
|
|
|
|
MAINTAINER= flo@kasimir.com
|
|
COMMENT= A multilingual, completely database-driven FAQ-system
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
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
|
|
|
|
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>
|