openbsd-ports/geo/osm-gps-map/Makefile
2009-03-14 11:39:51 +00:00

52 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2009/03/14 11:39:51 ajacoutot Exp $
COMMENT= Gtk+ Widget for Displaying OpenStreetMap tiles
# original tarball is an archive from git and lacks sane numbering
# in the filename.
DISTNAME= osm-gps-map-0.2
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += osmgpsmap 0.0 # .0.0
CATEGORIES= geo x11
HOMEPAGE= http://nzjrs.github.com/osm-gps-map/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://nedbsd.eu/~jasper/distfiles/
MODULES= devel/gettext
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gcrypt gio-2.0 glib-2.0 glitz gmodule-2.0
WANTLIB += gnutls gobject-2.0 gpg-error gthread-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += tasn1 xml2 z
USE_LIBTOOL= Yes
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
LIB_DEPENDS= soup-2.4::devel/libsoup \
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
CONFIGURE_STYLE= gnu
AUTOMAKE_VERSION= 1.8
AUTOCONF_VERSION= 2.61
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh \
--enable-cairo
.include <bsd.port.mk>