Lines 5-11
Link Here
|
5 |
# $FreeBSD: ports/security/nessus/Makefile,v 1.56 2004/08/13 13:36:01 vs Exp $ |
5 |
# $FreeBSD: ports/security/nessus/Makefile,v 1.56 2004/08/13 13:36:01 vs Exp $ |
6 |
# |
6 |
# |
7 |
# If you want to only have the command-line client even if gtk is already |
7 |
# If you want to only have the command-line client even if gtk is already |
8 |
# installed define: |
8 |
# installed define one of these: |
|
|
9 |
# WITHOUT_GNOME |
10 |
# WITHOUT_GTK |
9 |
# WITHOUT_NESSUS_GTK |
11 |
# WITHOUT_NESSUS_GTK |
10 |
|
12 |
|
11 |
PORTNAME= nessus |
13 |
PORTNAME= nessus |
Lines 33-47
Link Here
|
33 |
USE_LIBTOOL_VER=13 |
35 |
USE_LIBTOOL_VER=13 |
34 |
USE_REINPLACE= YES |
36 |
USE_REINPLACE= YES |
35 |
USE_RC_SUBR= YES |
37 |
USE_RC_SUBR= YES |
36 |
.if !defined(WITHOUT_NESSUS_GTK) |
|
|
37 |
WANT_GNOME= yes |
38 |
WANT_GNOME= yes |
|
|
39 |
.if defined(WITHOUT_NESSUS_GTK) || defined(WITHOUT_GTK) |
40 |
WITHOUT_GNOME= yes |
38 |
.endif |
41 |
.endif |
39 |
|
42 |
|
40 |
.include <bsd.port.pre.mk> |
43 |
.include <bsd.port.pre.mk> |
41 |
|
44 |
|
42 |
.if defined(WITHOUT_NESSUS_GTK) |
|
|
43 |
CONFIGURE_ARGS+=--disable-gtk |
44 |
.else |
45 |
.if ${HAVE_GNOME:Mgtk20}!="" |
45 |
.if ${HAVE_GNOME:Mgtk20}!="" |
46 |
USE_GNOME+= gtk20 |
46 |
USE_GNOME+= gtk20 |
47 |
PKGNAMESUFFIX= -gtk2 |
47 |
PKGNAMESUFFIX= -gtk2 |
Lines 50-56
Link Here
|
50 |
PKGNAMESUFFIX= -gtk |
50 |
PKGNAMESUFFIX= -gtk |
51 |
.else |
51 |
.else |
52 |
CONFIGURE_ARGS+=--disable-gtk |
52 |
CONFIGURE_ARGS+=--disable-gtk |
53 |
.endif |
|
|
54 |
.endif |
53 |
.endif |
55 |
|
54 |
|
56 |
MAN1= nessus.1 nessus-mkrand.1 nessus-mkcert-client.1 |
55 |
MAN1= nessus.1 nessus-mkrand.1 nessus-mkcert-client.1 |