2011-09-16 08:29:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2011/09/16 12:29:14 espie Exp $
|
2008-11-29 06:34:51 -05:00
|
|
|
|
|
|
|
COMMENT= screen saver and locker for GNOME
|
|
|
|
|
|
|
|
GNOME_PROJECT= gnome-screensaver
|
2011-09-12 03:28:52 -04:00
|
|
|
GNOME_VERSION= 3.0.1
|
2011-09-16 08:29:12 -04:00
|
|
|
REVISION= 0
|
2011-09-12 03:28:52 -04:00
|
|
|
|
2008-11-29 06:34:51 -05:00
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
WANTLIB += GL ICE SM X11 X11-xcb Xau Xcomposite Xcursor Xdamage
|
2009-10-14 05:55:24 -04:00
|
|
|
WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xss Xxf86misc
|
2011-09-12 03:28:52 -04:00
|
|
|
WANTLIB += Xxf86vm atk-1.0 c cairo cairo-gobject dbus-1 dbus-glib-1
|
|
|
|
WANTLIB += drm execinfo expat fontconfig freetype gdk-3 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gnome-desktop-3
|
|
|
|
WANTLIB += gnomekbd gnomekbdui gobject-2.0 gthread-2.0 gtk-3 m
|
|
|
|
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
|
|
|
|
WANTLIB += png pthread pthread-stubs startup-notification-1 xcb
|
|
|
|
WANTLIB += xcb-aux xcb-render xcb-shm xkbfile
|
|
|
|
WANTLIB += xklavier xml2 z
|
2008-11-29 06:34:51 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
2009-06-07 06:46:40 -04:00
|
|
|
x11/gnome \
|
2011-09-12 03:28:52 -04:00
|
|
|
devel/dconf
|
2008-11-29 06:34:51 -05:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
BUILD_DEPENDS= textproc/xmlto \
|
|
|
|
devel/gsettings-desktop-schemas \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= x11/gnome/desktop \
|
2011-04-29 04:41:51 -04:00
|
|
|
x11/gnome/libgnomekbd
|
2008-11-29 06:34:51 -05:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
RUN_DEPENDS= devel/gsettings-desktop-schemas \
|
|
|
|
sysutils/consolekit # src/gs-listener-dbus.c
|
2008-11-29 06:34:51 -05:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
AUTOCONF_VERSION= 2.68
|
|
|
|
AUTOMAKE_VERSION= 1.11
|
2009-06-03 20:45:39 -04:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2008-11-29 06:34:51 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2011-09-12 03:28:52 -04:00
|
|
|
--localstatedir=/var \
|
2008-11-29 06:34:51 -05:00
|
|
|
--enable-docbook-docs \
|
|
|
|
--enable-locking \
|
|
|
|
--with-x \
|
|
|
|
--with-mit-ext \
|
2011-09-12 03:28:52 -04:00
|
|
|
--with-xf86gamma-ext
|
2011-04-29 04:41:51 -04:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
# configure switch is still here, but functionnality has been removed
|
|
|
|
# --with-kbd-layout-indicator
|
2008-11-29 06:34:51 -05:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
USE_GROFF= Yes
|
2008-11-29 06:34:51 -05:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
MAKE_FLAGS= DOCDIR="${PREFIX}/share/doc/gnome-screensaver"
|
2008-11-29 06:34:51 -05:00
|
|
|
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-xscreensaver
|
|
|
|
|
2009-06-03 20:45:39 -04:00
|
|
|
post-extract:
|
|
|
|
cp ${FILESDIR}/gs-auth-bsdauth.c ${WRKSRC}/src/
|
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} automake
|
|
|
|
|
2008-11-29 06:34:51 -05:00
|
|
|
.include <bsd.port.mk>
|