openbsd-ports/net/mtr/Makefile
sthen d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00

43 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.40 2010/07/12 22:07:39 sthen Exp $
COMMENT= Matt's traceroute - network diagnostic tool
DISTNAME= mtr-0.75
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
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+= gdk-x11-2.0.>=1000,gtk-x11-2.0.>=1000::x11/gtk+2 \
gdk_pixbuf-2.0.>=1000,gtk-x11-2.0.>=1000::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 glitz gmodule-2.0 gobject-2.0
WANTLIB += iconv intl pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1
WANTLIB += png pthread-stubs xcb z
.endif
.include <bsd.port.mk>