# $OpenBSD: Makefile,v 1.64 2011/07/19 09:20:47 jasper Exp $ SHARED_ONLY= Yes COMMENT= lightweight window manager GNOME_PROJECT= metacity GNOME_VERSION= 2.34.1 REVISION= 0 SHARED_LIBS += metacity-private 1.0 # .0.0 CATEGORIES= x11 # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo WANTLIB += execinfo expat fontconfig freetype WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 kvm ltdl m ogg WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 WANTLIB += png pthread pthread-stubs vorbis vorbisfile xcb X11-xcb WANTLIB += xcb-aux xcb-render z GL Xxf86vm drm xcb-shm WANTLIB += startup-notification-1 canberra-gtk canberra gtop-2.0 MODULES= devel/gettext \ x11/gnome \ devel/gconf2 EXTRACT_SUFX= .tar.xz LIB_DEPENDS= devel/startup-notification \ audio/libcanberra,-gtk \ devel/libgtop2 BUILD_DEPENDS= ${RUN_DEPENDS} \ x11/gnome/doc-utils RUN_DEPENDS= x11/gnome/zenity SEPARATE_BUILD= concurrent DESKTOP_FILES= Yes MODGCONF2_SCHEMAS_DIR= metacity CONFIGURE_ARGS= ${CONFIGURE_SHARED} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" USE_GROFF = Yes FLAVORS= gtk2 FLAVOR?= .if ${FLAVOR:L:Mgtk2} # defaults to the "Clearlooks" theme RUN_DEPENDS += x11/gnome/themes PATCH_LIST += patch-* gtk2-patch-src_metacity_schemas_in_in .else # defaults to the "Adwaita" theme and "Cantarell" font RUN_DEPENDS += x11/gnome/themes-standard \ fonts/cantarell-fonts .endif post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/metacity ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/metacity/ ${INSTALL_DATA} ${WRKSRC}/doc/theme-format.txt ${PREFIX}/share/doc/metacity/ ${INSTALL_DATA} ${WRKSRC}/doc/metacity-theme.dtd ${PREFIX}/share/doc/metacity/ .include