openbsd-ports/geo/viking/Makefile
sthen c15b136e13 sync WANTLIB (and in one case, add gettext to LIB_DEPENDS) in dependent ports
now that internationalised domain name support has been removed from net/curl
2016-11-04 11:35:18 +00:00

53 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.32 2016/11/04 11:35:19 sthen Exp $
COMMENT = GPS track manager
DISTNAME = viking-1.6.2
REVISION = 1
CATEGORIES = geo x11
HOMEPAGE = http://viking.sourceforge.net/
MAINTAINER = Landry Breuil <landry@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender atk-1.0 bz2 c cairo crypto curl expat fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gexiv2 gio-2.0 glib-2.0
WANTLIB += gobject-2.0 gps gthread-2.0 gtk-x11-2.0 m magic nghttp2
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pthread sqlite3 ssl z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=viking/}
EXTRACT_SUFX = .tar.bz2
MODULES = gcc4 devel/gettext textproc/intltool x11/gnome
MODGCC4_ARCHS = amd64 i386 powerpc sparc64
MODGCC4_LANGS = c c++
CONFIGURE_STYLE = gnu
# to ensure X11 libs are found when checking for -lmapnik
# CONFIGURE_ENV += CXXFLAGS="-L${X11BASE}/lib"
MODGNOME_TOOLS += desktop-file-utils gtk-update-icon-cache yelp
USE_GMAKE = Yes
# until mapnik is fixed..
CONFIGURE_ARGS += --disable-mapnik
LIB_DEPENDS = archivers/bzip2 \
databases/sqlite3 \
devel/libidn \
devel/libmagic \
graphics/libgexiv2 \
misc/gpsd \
net/curl \
x11/gtk+2
RUN_DEPENDS = geo/gpsbabel
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/vikmapniklayer.c
.include <bsd.port.mk>