diff options
Diffstat (limited to 'net/mtr/Makefile')
-rw-r--r-- | net/mtr/Makefile | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile index bde25cdef1a..a5a2609e5ee 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -1,3 +1,5 @@ +# $NetBSD: Makefile,v 1.2 1999/12/04 16:50:10 sommerfeld Exp $ +# # New ports collection makefile for: mtr # Version required: 0.41 # Date created: 12 August 1998 @@ -11,24 +13,31 @@ CATEGORIES= net MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \ http://www.giovannelli.it/~gmarco/files/ -MAINTAINER= billf@FreeBSD.org +MAINTAINER= sommerfeld@netbsd.org +HOMEPAGE= http://www.bitwizard.nl/mtr/ + +# not needed in current as of some time before 1999/12/1, but +# needed for 1.4.x, so just use ncurses.. +DEPENDS+= ncurses-4.2:../../devel/ncurses -HAS_CONFIGURE= yes +#.if defined(USE_GTK) +#USE_XLIB= yes +#LIB_DEPENDS= gtk12.2:../../x11-toolkits/gtk12 +#CONFIGURE_ENV+= GTK_CONFIG="${X11BASE}/bin/gtk12-config" +#.endif +GNU_CONFIGURE= yes MAN8= mtr.8 +CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include -pre-patch: -.if !defined(USE_GTK) - @${ECHO} "" - @${ECHO} "If you want to compile with GTK support," - @${ECHO} "hit Ctrl-C right now and use \"make USE_GTK=yes\" " - @${ECHO} "" -CONFIGURE_ARGS=--with-gtk-prefix=/nopath -.else -USE_XLIB= yes -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 -CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config" -.endif +#pre-patch: +#.if !defined(USE_GTK) +# @${ECHO} "" +# @${ECHO} "If you want to compile with GTK support," +# @${ECHO} "hit Ctrl-C right now and use \"make USE_GTK=yes\" " +# @${ECHO} "" +#CONFIGURE_ARGS+=--with-gtk-prefix=/nopath +#.endif do-install: ${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin @@ -42,4 +51,4 @@ post-install: @${ECHO} "in file ${WRKSRC}/SECURITY (not installed)" @${ECHO} "" -.include <bsd.port.mk> +.include "../../mk/bsd.pkg.mk" |