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