48 lines
1.3 KiB
Makefile
Raw Normal View History

2017-11-25 21:57:47 +00:00
# $OpenBSD: Makefile,v 1.35 2017/11/25 21:57:47 ajacoutot Exp $
2014-10-22 19:08:21 +00:00
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 = 12
2011-03-07 19:34:43 +00:00
SHARED_LIBS += unique-1.0 2.0 # .100.6
CATEGORIES = devel
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
2017-11-25 21:57:47 +00:00
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 cairo dbus-1 dbus-glib-1 expat
WANTLIB += ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += xcb xcb-render xcb-shm 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>