Wed Feb 21 12:24:44 2018 UTC ()
phraseanet: move PHP_VERSIONS_ACCEPTED before inclusion of phpversion.mk


(wiz)
diff -r1.21 -r1.22 pkgsrc/www/phraseanet/Makefile

cvs diff -r1.21 -r1.22 pkgsrc/www/phraseanet/Makefile (expand / switch to unified diff)

--- pkgsrc/www/phraseanet/Makefile 2018/02/21 12:06:12 1.21
+++ pkgsrc/www/phraseanet/Makefile 2018/02/21 12:24:44 1.22
@@ -1,46 +1,46 @@ @@ -1,46 +1,46 @@
1# $NetBSD: Makefile,v 1.21 2018/02/21 12:06:12 wiz Exp $ 1# $NetBSD: Makefile,v 1.22 2018/02/21 12:24:44 wiz Exp $
2 2
3.include "../../www/phraseanet/Makefile.common" 3.include "../../www/phraseanet/Makefile.common"
4PKGNAME= phraseanet-${VERS} 4PKGNAME= phraseanet-${VERS}
5PKGREVISION= 7 5PKGREVISION= 7
6 6
7USE_TOOLS+= pax 7USE_TOOLS+= pax
8 8
 9PHP_VERSIONS_ACCEPTED= 56
 10
9.include "../../lang/php/phpversion.mk" 11.include "../../lang/php/phpversion.mk"
10 12
11DEPENDS+= ${PHP_PKG_PREFIX}-phrasea2-[0-9]*:../../www/php-phrasea2 13DEPENDS+= ${PHP_PKG_PREFIX}-phrasea2-[0-9]*:../../www/php-phrasea2
12DEPENDS+= ${PHP_PKG_PREFIX}-opcache-[0-9]*:../../devel/php-opcache 14DEPENDS+= ${PHP_PKG_PREFIX}-opcache-[0-9]*:../../devel/php-opcache
13DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring 15DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
14DEPENDS+= ${PHP_PKG_PREFIX}-gettext-[0-9]*:../../devel/php-gettext 16DEPENDS+= ${PHP_PKG_PREFIX}-gettext-[0-9]*:../../devel/php-gettext
15DEPENDS+= ${PHP_PKG_PREFIX}-exif-[0-9]*:../../graphics/php-exif 17DEPENDS+= ${PHP_PKG_PREFIX}-exif-[0-9]*:../../graphics/php-exif
16DEPENDS+= ${PHP_PKG_PREFIX}-ftp-[0-9]*:../../net/php-ftp 18DEPENDS+= ${PHP_PKG_PREFIX}-ftp-[0-9]*:../../net/php-ftp
17DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl 19DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl
18DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd 20DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd
19DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json 21DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
20DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv 22DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv
21DEPENDS+= ${PHP_PKG_PREFIX}-mysql-[0-9]*:../../databases/php-mysql 23DEPENDS+= ${PHP_PKG_PREFIX}-mysql-[0-9]*:../../databases/php-mysql
22DEPENDS+= ${PHP_PKG_PREFIX}-sockets-[0-9]*:../../net/php-sockets 24DEPENDS+= ${PHP_PKG_PREFIX}-sockets-[0-9]*:../../net/php-sockets
23DEPENDS+= ${PHP_PKG_PREFIX}-xsl-[0-9]*:../../textproc/php-xsl 25DEPENDS+= ${PHP_PKG_PREFIX}-xsl-[0-9]*:../../textproc/php-xsl
24DEPENDS+= ${PHP_PKG_PREFIX}-zip-[0-9]*:../../archivers/php-zip 26DEPENDS+= ${PHP_PKG_PREFIX}-zip-[0-9]*:../../archivers/php-zip
25DEPENDS+= ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib 27DEPENDS+= ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib
26DEPENDS+= ${PHP_PKG_PREFIX}-memcache-[0-9]*:../../devel/php-memcache 28DEPENDS+= ${PHP_PKG_PREFIX}-memcache-[0-9]*:../../devel/php-memcache
27DEPENDS+= phraseanet-indexer-${VERS}{,nb*}:../../www/phraseanet-indexer 29DEPENDS+= phraseanet-indexer-${VERS}{,nb*}:../../www/phraseanet-indexer
28DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=5.2:../../www/ap-php 30DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=5.2:../../www/ap-php
29DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick 31DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
30DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool 32DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
31 33
32PHP_VERSIONS_ACCEPTED= 56 
33 
34.include "../../mk/bsd.prefs.mk" 34.include "../../mk/bsd.prefs.mk"
35 35
36PHRASEANETDIR?= ${PREFIX}/share/phraseanet 36PHRASEANETDIR?= ${PREFIX}/share/phraseanet
37APACHE_USER?= www 37APACHE_USER?= www
38APACHE_GROUP?= www 38APACHE_GROUP?= www
39APACHE_DIRS_PERMS= ${APACHE_USER} ${APACHE_GROUP} 0755 39APACHE_DIRS_PERMS= ${APACHE_USER} ${APACHE_GROUP} 0755
40 40
41INSTALLATION_DIRS+= share/examples/phraseanet ${PHRASEANETDIR} 41INSTALLATION_DIRS+= share/examples/phraseanet ${PHRASEANETDIR}
42CONF_FILES= ${DESTDIR}${PREFIX}/share/examples/phraseanet/phrasea.conf \ 42CONF_FILES= ${DESTDIR}${PREFIX}/share/examples/phraseanet/phrasea.conf \
43 ${PKG_SYSCONFDIR}/phrasea.conf 43 ${PKG_SYSCONFDIR}/phrasea.conf
44 44
45MAKE_DIRS_PERMS+= ${PHRASEANETDIR}/config ${APACHE_DIRS_PERMS} 45MAKE_DIRS_PERMS+= ${PHRASEANETDIR}/config ${APACHE_DIRS_PERMS}
46MAKE_DIRS_PERMS+= ${PHRASEANETDIR}/config/stamp ${APACHE_DIRS_PERMS} 46MAKE_DIRS_PERMS+= ${PHRASEANETDIR}/config/stamp ${APACHE_DIRS_PERMS}