openbsd-ports/x11/gnome/metacity/Makefile
2011-04-05 06:24:55 +00:00

58 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.54 2011/04/05 06:24:55 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= lightweight window manager
GNOME_PROJECT= metacity
GNOME_VERSION= 2.34.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 xcb-atom
WANTLIB += xcb-aux xcb-event 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
LIB_DEPENDS= devel/startup-notification \
audio/libcanberra \
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} \
--with-gtk=2.0
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
USE_GROFF = Yes
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 <bsd.port.mk>