summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam>2003-03-23 00:40:04 +0000
committerjlam <jlam>2003-03-23 00:40:04 +0000
commitabb23fdd4587f9ecea109328a7ceedad296fcecc (patch)
treec6ab0a1de3e8b39262fb6234ec9acbd26fa725ad /net
parent6fefdd8cb7d35b8458430b57026557f981bb227d (diff)
downloadpkgsrc-abb23fdd4587f9ecea109328a7ceedad296fcecc.tar.gz
Convert to use buildlink2, and BUILD_DIRS instead of the custom do-build
target.
Diffstat (limited to 'net')
-rw-r--r--net/nmapfe/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/net/nmapfe/Makefile b/net/nmapfe/Makefile
index a0d4d773468..9d78059cd9f 100644
--- a/net/nmapfe/Makefile
+++ b/net/nmapfe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/03/22 04:08:20 salo Exp $
+# $NetBSD: Makefile,v 1.7 2003/03/23 00:40:04 jlam Exp $
#
DISTNAME= nmap-3.20
@@ -13,25 +13,18 @@ HOMEPAGE= http://www.insecure.org/nmap/index.html
COMMENT= graphical front end to the nmap port scanner
DEPENDS+= nmap-[23].*:../../net/nmap
-DEPENDS+= gtk+-1.2.*:../../x11/gtk
+USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
PATCHDIR= ${.CURDIR}/../../net/nmap/patches
DISTINFO_FILE= ${.CURDIR}/../../net/nmap/distinfo
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-MAKE_ENV+= CPPFLAGS=""
-.endif
-
-do-build:
- cd ${WRKSRC}/nbase ; ${SETENV} ${BUILD_ENV} ${MAKE}
- cd ${WRKSRC}/nmapfe ; ${SETENV} ${BUILD_ENV} ${MAKE}
+BUILD_DIRS= ${WRKSRC}/nbase ${WRKSRC}/nmapfe
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nmapfe/nmapfe ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/nmapfe.1 ${PREFIX}/man/man1
+.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"