openbsd-ports/net/mtr/Makefile
2010-11-19 22:31:32 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.46 2010/11/19 22:31:34 espie Exp $
COMMENT= Matt's traceroute - network diagnostic tool
DISTNAME= mtr-0.80
REVISION= 0
CATEGORIES= net
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
HOMEPAGE= http://www.bitwizard.nl/mtr/
# GPLv2+
PERMIT_PACKAGE_CDROM= yes
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
WANTLIB= c m termcap
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/
CONFIGURE_STYLE=gnu
USE_GROFF = Yes
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
CONFIGURE_ARGS+= --without-gtk
.else
CONFIGURE_ARGS+= --with-gtk-prefix=${LOCALBASE}
LIB_DEPENDS+= x11/gtk+2
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 iconv intl pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread pthread-stubs xcb xcb-render xcb-render-util
WANTLIB += z gtk-x11-2.0
.endif
.include <bsd.port.mk>