summaryrefslogtreecommitdiff
path: root/www/phpmyfaq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/phpmyfaq/Makefile')
-rw-r--r--www/phpmyfaq/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/www/phpmyfaq/Makefile b/www/phpmyfaq/Makefile
index 7e7cb5710597..3f35f164c929 100644
--- a/www/phpmyfaq/Makefile
+++ b/www/phpmyfaq/Makefile
@@ -1,5 +1,5 @@
PORTNAME= phpmyfaq
-PORTVERSION= 3.2.9
+DISTVERSION= 4.0.9
CATEGORIES= www
MASTER_SITES= https://download.phpmyfaq.de/files/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
@@ -10,19 +10,18 @@ WWW= https://www.phpmyfaq.de/
LICENSE= MPL20
+USES= cpe php:web,flavors
+USE_PHP= curl fileinfo filter gd json mysqli session spl xml xmlrpc \
+ xmlwriter zlib
+IGNORE_WITH_PHP= 81
+
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= cpe php:web,flavors
-USE_PHP= filter mysqli session xml xmlrpc xmlwriter zlib
-FAQ_DIR= attachments data images inc pdf xml
NO_BUILD= 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
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>