| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.40 2018/08/22 09:46:30 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.41 2019/06/18 12:33:43 gdt Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${DISTNAME:S/ZoneMinder-/zoneminder-/} | | 3 | PKGNAME= ${DISTNAME:S/ZoneMinder-/zoneminder-/} |
4 | DISTNAME= ZoneMinder-1.28.1 | | 4 | DISTNAME= ZoneMinder-1.28.1 |
5 | PKGREVISION= 18 | | 5 | PKGREVISION= 19 |
6 | CATEGORIES= security | | 6 | CATEGORIES= security |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ZoneMinder/} | | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ZoneMinder/} |
8 | GITHUB_PROJECT= ZoneMinder | | 8 | GITHUB_PROJECT= ZoneMinder |
9 | GITHUB_TYPE= tag | | 9 | GITHUB_TYPE= tag |
10 | GITHUB_TAG= v${PKGVERSION_NOREV} | | 10 | GITHUB_TAG= v${PKGVERSION_NOREV} |
11 | | | 11 | |
12 | MAINTAINER= dsainty@NetBSD.org | | 12 | MAINTAINER= dsainty@NetBSD.org |
13 | HOMEPAGE= https://www.zoneminder.com/ | | 13 | HOMEPAGE= https://www.zoneminder.com/ |
14 | COMMENT= Video camera security and surveillance solution | | 14 | COMMENT= Video camera security and surveillance solution |
15 | LICENSE= gnu-gpl-v2 | | 15 | LICENSE= gnu-gpl-v2 |
16 | | | 16 | |
17 | # NetBSD tar: Invalid header, starting valid header search. | | 17 | # NetBSD tar: Invalid header, starting valid header search. |
18 | EXTRACT_USING= gtar | | 18 | EXTRACT_USING= gtar |
| @@ -21,34 +21,41 @@ DEPENDS+= netpbm-[0-9]*:../../graphics/n | | | @@ -21,34 +21,41 @@ DEPENDS+= netpbm-[0-9]*:../../graphics/n |
21 | | | 21 | |
22 | PHP_VERSIONS_ACCEPTED= 56 | | 22 | PHP_VERSIONS_ACCEPTED= 56 |
23 | | | 23 | |
24 | PKG_OPTIONS_VAR= PKG_OPTIONS.zoneminder | | 24 | PKG_OPTIONS_VAR= PKG_OPTIONS.zoneminder |
25 | PKG_SUPPORTED_OPTIONS= apache | | 25 | PKG_SUPPORTED_OPTIONS= apache |
26 | PKG_SUGGESTED_OPTIONS= apache | | 26 | PKG_SUGGESTED_OPTIONS= apache |
27 | | | 27 | |
28 | .include "../../mk/bsd.options.mk" | | 28 | .include "../../mk/bsd.options.mk" |
29 | | | 29 | |
30 | GNU_CONFIGURE= yes | | 30 | GNU_CONFIGURE= yes |
31 | USE_LANGUAGES= c c++ | | 31 | USE_LANGUAGES= c c++ |
32 | USE_TOOLS+= aclocal autoconf autoheader automake gmake perl pkg-config | | 32 | USE_TOOLS+= aclocal autoconf autoheader automake gmake perl pkg-config |
33 | | | 33 | |
| | | 34 | # zoneminder can depend on a number of perl modules depending on |
| | | 35 | # configuration. We take the view that if an installation can be |
| | | 36 | # reasonably configured to use a module, that module should be a |
| | | 37 | # dependency, absent some reason that it is so heavyweight that it |
| | | 38 | # shoudl be an option. |
| | | 39 | |
34 | # MIME::Entity is needed from p5-MIME-tools | | 40 | # MIME::Entity is needed from p5-MIME-tools |
35 | # LWP::UserAgent is needed from p5-libwww | | 41 | # LWP::UserAgent is needed from p5-libwww |
36 | DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip | | 42 | DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip |
37 | DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip | | 43 | DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip |
38 | DEPENDS+= p5-Device-SerialPort-[0-9]*:../../comms/p5-Device-SerialPort | | 44 | DEPENDS+= p5-Device-SerialPort-[0-9]*:../../comms/p5-Device-SerialPort |
39 | DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql | | 45 | DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql |
40 | DEPENDS+= p5-MIME-Lite-[0-9]*:../../mail/p5-MIME-Lite | | 46 | DEPENDS+= p5-MIME-Lite-[0-9]*:../../mail/p5-MIME-Lite |
41 | DEPENDS+= p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools | | 47 | DEPENDS+= p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools |
| | | 48 | DEPENDS+= p5-Net-SFTP-Foreign-[0-9]*:../../net/p5-Net-SFTP-Foreign |
42 | DEPENDS+= p5-PHP-Serialization-[0-9]*:../../devel/p5-PHP-Serialization | | 49 | DEPENDS+= p5-PHP-Serialization-[0-9]*:../../devel/p5-PHP-Serialization |
43 | #DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes | | 50 | #DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes |
44 | DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww | | 51 | DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww |
45 | | | 52 | |
46 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | | 53 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
47 | | | 54 | |
48 | ZM_HTTPD_ROOT= share/zoneminder/htdocs | | 55 | ZM_HTTPD_ROOT= share/zoneminder/htdocs |
49 | PLIST_SUBST+= ZM_HTTPD_ROOT=${ZM_HTTPD_ROOT:Q} | | 56 | PLIST_SUBST+= ZM_HTTPD_ROOT=${ZM_HTTPD_ROOT:Q} |
50 | OWN_DIRS+= ${ZM_HTTPD_ROOT:Q} | | 57 | OWN_DIRS+= ${ZM_HTTPD_ROOT:Q} |
51 | | | 58 | |
52 | ZM_HTTPD_CGIBIN= libexec/zoneminder/cgi-bin | | 59 | ZM_HTTPD_CGIBIN= libexec/zoneminder/cgi-bin |
53 | PLIST_SUBST+= ZM_HTTPD_CGIBIN=${ZM_HTTPD_CGIBIN:Q} | | 60 | PLIST_SUBST+= ZM_HTTPD_CGIBIN=${ZM_HTTPD_CGIBIN:Q} |
54 | BUILD_DEFS+= ZM_HTTPD_CGIBIN | | 61 | BUILD_DEFS+= ZM_HTTPD_CGIBIN |