2011-07-19 05:20:47 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.64 2011/07/19 09:20:47 jasper Exp $
|
2010-09-29 16:25:14 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2003-01-31 14:02:26 -05:00
|
|
|
|
2009-10-11 20:31:36 -04:00
|
|
|
COMMENT= lightweight window manager
|
2003-01-31 14:02:26 -05:00
|
|
|
|
2009-10-11 20:31:36 -04:00
|
|
|
GNOME_PROJECT= metacity
|
2011-06-21 13:54:25 -04:00
|
|
|
GNOME_VERSION= 2.34.1
|
2011-07-19 05:20:47 -04:00
|
|
|
REVISION= 0
|
2011-04-10 04:36:26 -04:00
|
|
|
|
2009-10-11 20:31:36 -04:00
|
|
|
SHARED_LIBS += metacity-private 1.0 # .0.0
|
|
|
|
|
|
|
|
CATEGORIES= x11
|
2003-01-31 14:02:26 -05:00
|
|
|
|
2008-07-02 13:42:55 -04:00
|
|
|
# GPLv2
|
2003-01-31 14:02:26 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-07-02 13:42:55 -04:00
|
|
|
|
2009-10-11 20:31:36 -04:00
|
|
|
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
|
|
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo
|
2010-09-30 03:45:05 -04:00
|
|
|
WANTLIB += execinfo expat fontconfig freetype
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
|
2010-03-21 06:33:09 -04:00
|
|
|
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
|
2011-06-21 13:54:25 -04:00
|
|
|
WANTLIB += png pthread pthread-stubs vorbis vorbisfile xcb X11-xcb
|
|
|
|
WANTLIB += xcb-aux xcb-render z GL Xxf86vm drm xcb-shm
|
2010-07-25 04:15:32 -04:00
|
|
|
WANTLIB += startup-notification-1 canberra-gtk canberra gtop-2.0
|
2009-10-11 20:31:36 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome \
|
|
|
|
devel/gconf2
|
|
|
|
|
2011-06-21 13:54:25 -04:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= devel/startup-notification \
|
2011-04-13 02:47:42 -04:00
|
|
|
audio/libcanberra,-gtk \
|
2010-11-22 03:36:47 -05:00
|
|
|
devel/libgtop2
|
2010-09-16 02:19:05 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
2010-11-22 03:36:47 -05:00
|
|
|
x11/gnome/doc-utils
|
|
|
|
RUN_DEPENDS= x11/gnome/zenity
|
2009-10-11 20:31:36 -04:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
DESKTOP_FILES= Yes
|
|
|
|
MODGCONF2_SCHEMAS_DIR= metacity
|
|
|
|
|
2011-05-27 08:47:42 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
2009-10-11 20:31:36 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2010-10-19 04:13:56 -04:00
|
|
|
USE_GROFF = Yes
|
2003-01-31 14:02:26 -05:00
|
|
|
|
2011-05-27 08:47:42 -04:00
|
|
|
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 \
|
2011-07-19 05:20:47 -04:00
|
|
|
fonts/cantarell-fonts
|
2011-05-27 08:47:42 -04:00
|
|
|
.endif
|
|
|
|
|
2003-01-31 14:02:26 -05:00
|
|
|
post-install:
|
2007-11-10 10:46:37 -05:00
|
|
|
${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/
|
2003-01-31 14:02:26 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/metacity-theme.dtd ${PREFIX}/share/doc/metacity/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|