openbsd-ports/net/mtr/Makefile

40 lines
853 B
Makefile

# $OpenBSD: Makefile,v 1.24 2002/07/26 00:28:30 jakob Exp $
COMMENT= "Matt's traceroute - network diagnostic tool"
DISTNAME= mtr-0.49
CATEGORIES= net
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
HOMEPAGE= http://www.bitwizard.nl/mtr/
PERMIT_PACKAGE_CDROM= yes
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
ftp://ftp.lysator.liu.se/mirror/unix/mtr/
MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= mtr-049-v6-20020402.diff.gz:0
PATCH_DIST_STRIP= -p1
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-ipv6
USE_GMAKE= yes
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
CONFIGURE_ARGS+= --without-gtk
.else
USE_X11= Yes
CONFIGURE_ARGS+= --with-gtk-prefix=${LOCALBASE}
LIB_DEPENDS+= gtk.1.2,gdk.1.2::x11/gtk+
.endif
.include <bsd.port.mk>