openbsd-ports/x11/gnome/screensaver/Makefile

70 lines
1.9 KiB
Makefile
Raw Normal View History

2011-09-16 08:29:12 -04:00
# $OpenBSD: Makefile,v 1.34 2011/09/16 12:29:14 espie Exp $
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
# 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
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
MODULES= devel/gettext \
x11/gnome \
2011-09-12 03:28:52 -04:00
devel/dconf
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 \
x11/gnome/libgnomekbd
2011-09-12 03:28:52 -04:00
RUN_DEPENDS= devel/gsettings-desktop-schemas \
sysutils/consolekit # src/gs-listener-dbus.c
2011-09-12 03:28:52 -04:00
AUTOCONF_VERSION= 2.68
AUTOMAKE_VERSION= 1.11
2011-09-12 03:28:52 -04:00
CONFIGURE_STYLE= autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
2011-09-12 03:28:52 -04:00
--localstatedir=/var \
--enable-docbook-docs \
--enable-locking \
--with-x \
--with-mit-ext \
2011-09-12 03:28:52 -04:00
--with-xf86gamma-ext
2011-09-12 03:28:52 -04:00
# configure switch is still here, but functionnality has been removed
# --with-kbd-layout-indicator
2011-09-12 03:28:52 -04:00
USE_GROFF= Yes
2011-09-12 03:28:52 -04:00
MAKE_FLAGS= DOCDIR="${PREFIX}/share/doc/gnome-screensaver"
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-xscreensaver
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
.include <bsd.port.mk>