40 lines
853 B
Makefile
40 lines
853 B
Makefile
# $OpenBSD: Makefile,v 1.25 2003/10/09 08:40:27 jakob Exp $
|
|
|
|
COMMENT= "Matt's traceroute - network diagnostic tool"
|
|
|
|
DISTNAME= mtr-0.54
|
|
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-054-v6-20030624.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>
|