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