summaryrefslogtreecommitdiff
path: root/net/ntop
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-20 04:50:23 +0000
committerjlam <jlam@pkgsrc.org>2001-06-20 04:50:23 +0000
commit5c6de17670ab01910dcded6edc2c8670c9a62f21 (patch)
tree788fc54ca959a327da5a9fdff1b8c31328824be4 /net/ntop
parent9ef400c6e215559d8fd66e0aa6c47a19f4ba7b60 (diff)
downloadpkgsrc-5c6de17670ab01910dcded6edc2c8670c9a62f21.tar.gz
Convert to use buildlink.mk files for ncurses dependency and mark as
USE_BUILDLINK_ONLY.
Diffstat (limited to 'net/ntop')
-rw-r--r--net/ntop/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index 00de659f971..a45ce983ff6 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2001/06/11 06:34:46 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2001/06/20 04:50:23 jlam Exp $
DISTNAME= ntop-1.1
PKGNAME= ntop-1.1nb1
@@ -10,18 +10,11 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.ntop.org/
COMMENT= shows network usage (similar to "top" for processes)
+USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
-USE_CURSES= yes
-REPLACE_NCURSES= ${WRKSRC}/configure ${WRKSRC}/ntop.h
CONFIGURE_ARGS+= --enable-threads=no
INSTALL_TARGET= install install-man
-.include "../../mk/bsd.prefs.mk"
-
-.if ${NEED_NCURSES} == "YES"
-CPPFLAGS+= -I${LOCALBASE}/include # for ncurses.h
-LDFLAGS+= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib
-.endif
-
+.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"