openbsd-ports/devel/libunique/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

2017-11-25 21:57:47 +00:00
PORTROACH += limit:^1
2011-09-20 21:17:26 +00:00
# XXX fix building with glib2 >= 2.29 (G_CONST_RETURN is deprecated)
2017-11-25 21:57:47 +00:00
CFLAGS += "-DG_CONST_RETURN=const"
2017-11-25 21:57:47 +00:00
COMMENT = library for writing single instance GTK+2 applications
2017-11-25 21:57:47 +00:00
GNOME_PROJECT = libunique
GNOME_VERSION = 1.1.6
REVISION = 15
2011-03-07 19:34:43 +00:00
SHARED_LIBS += unique-1.0 2.0 # .100.6
CATEGORIES = devel
# LGPLv2.1
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} X11 Xau Xcomposite Xcursor Xdamage
WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0
WANTLIB += cairo dbus-1 dbus-glib-1 execinfo expat ffi fontconfig
WANTLIB += freetype fribidi gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gtk-x11-2.0
WANTLIB += harfbuzz iconv intl jpeg m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre2-8 pixman-1 png xcb xcb-render xcb-shm
WANTLIB += z
EXTRACT_SUFX= .tar.bz2
2017-11-25 21:57:47 +00:00
MODGNOME_TOOLS = gobject-introspection
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-x
2017-11-25 21:57:47 +00:00
MODULES = x11/gnome
2017-08-19 09:56:21 +00:00
# gtkdoc-rebase in gtk-doc.make and doc/reference/Makefile
2017-11-25 21:57:47 +00:00
BUILD_DEPENDS = textproc/gtk-doc
LIB_DEPENDS = x11/gtk+2 \
x11/dbus-glib
2017-08-19 09:56:21 +00:00
2017-11-25 21:57:47 +00:00
pre-configure:
sed -i 's,--libtool="\$$(top_builddir)/libtool",--libtool="\$${LIBTOOL}",g' \
${WRKSRC}/unique/Makefile.in
.include <bsd.port.mk>