- fixup Makefile
- add USE_X11 - proper use of ALL_TARGET for use with the no_x11 FLAVOR
This commit is contained in:
parent
5068218e2f
commit
009db4a472
@ -1,9 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2001/01/09 18:52:34 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2001/01/14 18:18:09 brad Exp $
|
||||
|
||||
DISTNAME= nmap-2.54BETA7
|
||||
PKGNAME= nmap-2.54b7
|
||||
CATEGORIES= net security
|
||||
NEED_VERSION= 1.348
|
||||
MASTER_SITES= ${HOMEPAGE}dist/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
HOMEPAGE= http://www.insecure.org/nmap/
|
||||
|
||||
MAINTAINER= Brian Caswell <bmc@mitre.org>
|
||||
@ -13,16 +16,17 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}dist/
|
||||
EXTRACT_SUFX= .tgz
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
|
||||
FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
|
||||
.if !${FLAVOR:L:Mno_x11}
|
||||
LIB_DEPENDS+= gtk.1.2::x11/gtk+
|
||||
.if ${FLAVOR:L:Mno_x11}
|
||||
ALL_TARGET= nmap
|
||||
.else
|
||||
LIB_DEPENDS= gtk.1.2::x11/gtk+
|
||||
USE_X11= Yes
|
||||
ALL_TARGET= nmap nmapfe
|
||||
.endif
|
||||
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user