openbsd-ports/geo/libchamplain/Makefile
jasper 436f603726 - install the actual demo binary, instead of the libtool script
- also install the python demo scripts
2012-07-16 18:52:45 +00:00

58 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2012/07/16 18:52:45 jasper Exp $
SHARED_ONLY= Yes
COMMENT= library to provide a GTK+ widget to display maps
GNOME_PROJECT= libchamplain
GNOME_VERSION= 0.12.3
REVISION= 4
API_VERSION= 0.12
SHARED_LIBS += champlain-0.12 0.0 # 1.1
SHARED_LIBS += champlain-gtk-0.12 0.0 # 1.1
SUBST_VARS+= API_VERSION
CATEGORIES= geo devel
HOMEPAGE= http://projects.gnome.org/libchamplain/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo cairo-gobject
WANTLIB += clutter-1.0 clutter-gtk-1.0 cogl cogl-pango dbus-1
WANTLIB += drm expat ffi fontconfig freetype gcrypt gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gnome-keyring gobject-2.0
WANTLIB += gpg-error gthread-2.0 gtk-3 json-glib-1.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs
WANTLIB += soup-2.4 soup-gnome-2.4 sqlite3 stdc++ xcb xcb-render
WANTLIB += xcb-shm xml2 z memphis-0.2
MODULES= devel/gettext \
x11/gnome
LIBTOOL_FLAGS= --tag=disable-static
LIB_DEPENDS= devel/libsoup,-gnome \
geo/memphis \
graphics/clutter/clutter-gtk>=1.2.0
MODGNOME_TOOLS= goi
CONFIGURE_STYLE= gnu
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/demos/.libs/launcher-gtk \
${PREFIX}/bin/libchamplain-demo
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libchamplain/
${INSTALL_DATA} ${WRKSRC}/demos/*.{c,py} \
${PREFIX}/share/examples/libchamplain/
.include <bsd.port.mk>