summaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-20 04:56:28 +0000
committerjlam <jlam@pkgsrc.org>2001-06-20 04:56:28 +0000
commit9619854dc493ee8d2858a2cfc998d6a00b941710 (patch)
treef4cff6ce9ae4402fd6492765c6f7011ec88c9869 /net/mtr
parent5c6de17670ab01910dcded6edc2c8670c9a62f21 (diff)
downloadpkgsrc-9619854dc493ee8d2858a2cfc998d6a00b941710.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index 2110b1fb81d..6a10255df69 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/06/11 06:34:46 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2001/06/20 04:56:28 jlam Exp $
# $FreeBSD: ports/net/mtr/Makefile,v 1.16 1999/10/28 08:06:00 mharo Exp $
DISTNAME= mtr-0.42
@@ -10,14 +10,11 @@ MAINTAINER= sommerfeld@netbsd.org
HOMEPAGE= http://www.bitwizard.nl/mtr/
COMMENT= Traceroute and ping in a single graphical network diagnostic tool
-DEPENDS+= gtk+>=1.2.7:../../x11/gtk
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USE_CURSES= yes
-# next line only needed if ncurses are also installed
-REPLACE_NCURSES= configure configure.in
-CPPFLAGS+= -I${PREFIX}/include
+USE_BUILDLINK_ONLY= yes
+USE_CONFIG_WRAPPER= yes
do-install:
${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin
@@ -31,4 +28,6 @@ post-install:
@${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
@${ECHO} ""
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"