aboutsummaryrefslogtreecommitdiff
path: root/security/nessus-devel
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-03-11 13:46:15 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-03-11 13:46:15 +0000
commit817c4c79303e3501defee8f241486eebc06581d3 (patch)
tree2448f3173a532c4b5eff27911641b55e224e80c2 /security/nessus-devel
parent25af8023e389ad74f611a76796d55cf53274cd61 (diff)
downloadports-817c4c79303e3501defee8f241486eebc06581d3.tar.gz
ports-817c4c79303e3501defee8f241486eebc06581d3.zip
Notes
Diffstat (limited to 'security/nessus-devel')
-rw-r--r--security/nessus-devel/Makefile11
-rw-r--r--security/nessus-devel/pkg-plist4
2 files changed, 10 insertions, 5 deletions
diff --git a/security/nessus-devel/Makefile b/security/nessus-devel/Makefile
index eefb87acf915..7af90b3c2491 100644
--- a/security/nessus-devel/Makefile
+++ b/security/nessus-devel/Makefile
@@ -26,9 +26,14 @@ LIB_DEPENDS= nasl.1:${PORTSDIR}/security/nessus-libnasl
DIST_SUBDIR= nessus
WRKSRC= ${WRKDIR}/nessus-core
-HAVE_GTK= yes
USE_LIBTOOL= yes
-.if defined(WITHOUT_GTK)
+WANT_GTK= yes
+
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GTK) && !defined(WITHOUT_GTK)
+USE_GTK= yes
+.else
CONFIGURE_ARGS+= --disable-gtk
.endif
@@ -41,4 +46,4 @@ post-install:
@${ECHO} "collection."
@${ECHO} "================================================================================"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/nessus-devel/pkg-plist b/security/nessus-devel/pkg-plist
index 24f36bda5e19..1af5f7ff233a 100644
--- a/security/nessus-devel/pkg-plist
+++ b/security/nessus-devel/pkg-plist
@@ -10,5 +10,5 @@ include/nessus/nessustcp.h
include/nessus/nessusudp.h
include/nessus/ntcompat.h
sbin/nessusd
-@dirrm var/nessus
-@dirrm etc/nessus
+@unexec rmdir %D/var/nessus 2>/dev/null || true
+@unexec rmdir %D/etc/nessus 2>/dev/null || true