openbsd-ports/devel/libunique/Makefile
2011-09-20 21:17:26 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2011/09/20 21:17:26 ajacoutot Exp $
# XXX fix building with glib2 >= 2.29 (G_CONST_RETURN is deprecated)
CFLAGS += "-DG_CONST_RETURN=const"
COMMENT = library for writing single instance GTK+2 applications
GNOME_PROJECT = libunique
GNOME_VERSION = 1.1.6
REVISION= 3
SHARED_LIBS += unique-1.0 2.0 # .100.6
CATEGORIES = devel
HOMEPAGE = http://live.gnome.org/LibUnique
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
EXTRACT_SUFX= .tar.bz2
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo dbus-1
WANTLIB += dbus-glib-1 drm expat fontconfig freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread-stubs xcb xcb-render
WANTLIB += xcb-shm z ffi
MODGNOME_TOOLS= goi
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS = --with-x
MODULES = devel/gettext \
x11/gnome
LIB_DEPENDS = x11/gtk+2 \
x11/dbus-glib
.include <bsd.port.mk>