2010-07-30 06:58:57 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2010/07/30 06:58:57 ajacoutot Exp $
|
2009-09-01 01:49:14 +00:00
|
|
|
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
|
|
|
|
COMMENT = OpenGL window and compositing manager
|
|
|
|
|
|
|
|
V = 0.8.2
|
|
|
|
DISTNAME = compiz-${V}
|
2010-07-30 06:58:57 +00:00
|
|
|
REVISION= 3
|
2009-09-01 01:49:14 +00:00
|
|
|
|
|
|
|
SHARED_LIBS = decoration 0.0
|
|
|
|
|
|
|
|
CATEGORIES = x11
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.compiz-fusion.org/
|
|
|
|
|
|
|
|
# MIT, GPL and LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2010-04-27 21:01:51 +00:00
|
|
|
WANTLIB += GL GLU ICE ORBit-2 SM X11 XRes Xau Xcomposite Xcursor
|
|
|
|
WANTLIB += Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender
|
|
|
|
WANTLIB += Xxf86vm atk-1.0 c cairo dbus-1 dbus-glib-1 drm execinfo
|
|
|
|
WANTLIB += expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0
|
|
|
|
WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
|
|
WANTLIB += pcre pixman-1 pthread pthread-stubs xcb xcb-atom xcb-aux
|
|
|
|
WANTLIB += xcb-event xcb-render xcb-render-util z
|
2009-09-01 01:49:14 +00:00
|
|
|
|
|
|
|
MASTER_SITES = http://releases.compiz-fusion.org/${V}/
|
|
|
|
|
2009-09-01 09:49:01 +00:00
|
|
|
MODULES = devel/gconf2 \
|
2009-09-28 15:14:30 +00:00
|
|
|
devel/gettext \
|
|
|
|
textproc/intltool
|
2009-09-01 09:49:01 +00:00
|
|
|
|
2009-09-01 01:49:14 +00:00
|
|
|
MODGCONF2_SCHEMAS_DIR = compiz
|
|
|
|
|
|
|
|
LIB_DEPENDS = png::graphics/png \
|
|
|
|
startup-notification-1::devel/startup-notification \
|
|
|
|
wnck-1::devel/libwnck \
|
|
|
|
xml2::textproc/libxml \
|
|
|
|
xslt::textproc/libxslt
|
|
|
|
|
|
|
|
USE_X11 = Yes
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
|
2009-09-01 09:49:01 +00:00
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
|
2009-09-01 01:49:14 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
2009-09-01 09:49:01 +00:00
|
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
|
|
--disable-static \
|
|
|
|
--disable-inotify \
|
2009-09-01 01:49:14 +00:00
|
|
|
--disable-fuse \
|
|
|
|
--disable-librsvg \
|
|
|
|
--disable-metacity \
|
|
|
|
--disable-gnome \
|
|
|
|
--disable-gnome-keybindings \
|
|
|
|
--disable-kde \
|
|
|
|
--disable-kde4 \
|
|
|
|
--disable-kconfig
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/compiz
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
|
|
|
|
${PREFIX}/share/doc/compiz
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|