| @@ -1,32 +1,35 @@ | | | @@ -1,32 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.2 2009/07/17 18:00:24 adrianp Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2009/12/09 05:52:30 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= openvas-server-2.0.0 | | 4 | DISTNAME= openvas-server-2.0.0 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= security | | 6 | CATEGORIES= security |
6 | MASTER_SITES= http://wald.intevation.org/frs/download.php/550/ | | 7 | MASTER_SITES= http://wald.intevation.org/frs/download.php/550/ |
7 | | | 8 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.openvas.org/ | | 10 | HOMEPAGE= http://www.openvas.org/ |
10 | COMMENT= Server for the Open Vulnerability Assessment System | | 11 | COMMENT= Server for the Open Vulnerability Assessment System |
11 | | | 12 | |
| | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 14 | |
12 | .include "options.mk" | | 15 | .include "options.mk" |
13 | | | 16 | |
14 | GNU_CONFIGURE= YES | | 17 | GNU_CONFIGURE= YES |
15 | BUILD_DEFS+= VARBASE | | 18 | BUILD_DEFS+= VARBASE |
16 | USE_TOOLS+= pkg-config gettext | | 19 | USE_TOOLS+= pkg-config gettext:run |
17 | RCD_SCRIPTS= openvasd | | 20 | RCD_SCRIPTS= openvasd |
18 | | | 21 | |
19 | SUBST_CLASSES= user | | 22 | SUBST_CLASSES+= user |
20 | SUBST_STAGE.user= post-patch | | 23 | SUBST_STAGE.user= post-patch |
21 | SUBST_FILES.user= openvas-adduser.in openvas-mkcert-client.in | | 24 | SUBST_FILES.user= openvas-adduser.in openvas-mkcert-client.in |
22 | SUBST_FILES.user+= openvas-mkcert.in openvas-rmuser.in | | 25 | SUBST_FILES.user+= openvas-mkcert.in openvas-rmuser.in |
23 | SUBST_SED.user= -e "s|/usr/bin/gettext|${BUILDLINK_PREFIX.gettext}/bin/gettext|g" | | 26 | SUBST_SED.user= -e "s|/usr/bin/gettext|${BUILDLINK_PREFIX.gettext}/bin/gettext|g" |
24 | SUBST_MESSAGE.user= Fixing administrative scripts. | | 27 | SUBST_MESSAGE.user= Fixing administrative scripts. |
25 | | | 28 | |
26 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | | 29 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} |
27 | | | 30 | |
28 | .include "../../security/openvas-libraries/buildlink3.mk" | | 31 | .include "../../security/openvas-libraries/buildlink3.mk" |
29 | .include "../../security/openvas-libnasl/buildlink3.mk" | | 32 | .include "../../security/openvas-libnasl/buildlink3.mk" |
30 | .include "../../security/libgcrypt/buildlink3.mk" | | 33 | .include "../../security/libgcrypt/buildlink3.mk" |
31 | .include "../../security/gnutls/buildlink3.mk" | | 34 | .include "../../security/gnutls/buildlink3.mk" |
32 | .include "../../security/gpgme/buildlink3.mk" | | 35 | .include "../../security/gpgme/buildlink3.mk" |