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