# $OpenBSD: Makefile,v 1.18 2011/11/01 19:00:25 jasper Exp $

COMMENT=	NEC2 antenna simulator visualizer

BROKEN-hppa=	makedepend infinite loop
BROKEN-arm=	makedepend infinite loop

VERSION=	1.35
DISTNAME=	xnecview-${VERSION}
REVISION=	9
EXTRACT_SUFX=	.tgz

MASTER_SITES=	http://wwwhome.cs.utwente.nl/~ptdeboer/ham/xnecview/

CATEGORIES=    	cad hamradio

HOMEPAGE=	http://www.cs.utwente.nl/~ptdeboer/ham/xnecview/

# GPLv2
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_DISTFILES_FTP=	Yes

WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += pthread-stubs xcb z gdk_pixbuf-2.0
WANTLIB += gtk-x11-2.0>=400.13 gdk-x11-2.0>=400.13
WANTLIB += GL gthread-2.0 pthread xcb-render xcb-shm

MODULES=		devel/gettext

LIB_DEPENDS =		x11/gtk+2

CONFIGURE_STYLE=	imake
USE_GROFF =		Yes

.include <bsd.port.mk>
