diff options
author | jlam <jlam@pkgsrc.org> | 2003-03-23 00:40:04 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-03-23 00:40:04 +0000 |
commit | 1ca0fffa0958bfe641e6d31d8b8c1bdee0cd533b (patch) | |
tree | c6ab0a1de3e8b39262fb6234ec9acbd26fa725ad /net | |
parent | ada44c37a8175fd1422c028cf907768236ffba6c (diff) | |
download | pkgsrc-1ca0fffa0958bfe641e6d31d8b8c1bdee0cd533b.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/Makefile | 15 |
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" |