openbsd-ports/x11/gnome/metacity/Makefile
2007-11-23 10:12:43 +00:00

44 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.28 2007/11/23 10:12:43 martynas Exp $
COMMENT= lightweight window manager
GNOME_PROJECT= metacity
GNOME_VERSION= 2.20.1
SHARED_LIBS= metacity-private 0.0
CATEGORIES= x11
# GPL
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 \
Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo \
expat fontconfig freetype glib-2.0 glitz gmodule-2.0 \
gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre png pthread z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= gconf-2::devel/gconf2 \
startup-notification-1::devel/startup-notification \
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
SEPARATE_BUILD= concurrent
USE_X11= Yes
DESKTOP_FILES= Yes
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/metacity \
--disable-schemas-install \
--disable-compositor
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
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>