openbsd-ports/x11/xfce4/xfce4-session/Makefile
landry d6eb448071 Winter cleanup of the Xfce ports:
- use LIBTOOL_FLAGS=--tag=disable-static to avoid building useless
  static libs.
- add a MODXFCE_PURGE_LA variable holding the list of dirs to purge from
  libtool archive useless files.
- add a MODXFCE4_post-install hook in xfce4.port.mk to purge the la files.
  This requires  bsd.port.mk r1.1201.
- remove --disable-linker-opts now that --as-needed seems to work fine
- fix WANTLIB (mostly adding harfbuzz icudata icule icuuc in lots of
  places)
- update PLISTs: remove @comment'ed static/la files, redundant dirs

ok sthen@ ajacoutot@
2013-01-02 17:12:21 +00:00

50 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.61 2013/01/02 17:12:22 landry Exp $
COMMENT= Xfce4 session manager
XFCE_PROJECT= xfce4-session
REVISION= 3
SHARED_LIBS += xfsm-4.6 1.0 # .0.0
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MODULES= x11/xfce4
MODXFCE_DESKTOP_FILE= Yes
MODXFCE_ICON_CACHE= Yes
MODXFCE_PURGE_LA = lib/xfce4/session/splash-engines
CONFIGURE_ENV= ac_cv_header_sys_user_h=yes
CONFIGURE_ARGS= --disable-linker-opts \
--with-xsession-prefix=${PREFIX}
#CONFIGURE_ARGS+= --enable-session-screenshots
#XXX session-screenshots broken?
# http://bugzilla.xfce.org/show_bug.cgi?id=6885
LIB_DEPENDS= x11/xfce4/libxfce4ui>=4.9.0\
x11/xfce4/xfconf>=4.9.0 \
devel/libwnck
WANTLIB += GL ICE SM X11 X11-xcb XRes Xau Xcomposite Xcursor Xdamage
WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm
WANTLIB += atk-1.0 c cairo dbus-1 dbus-glib-1 drm expat ffi fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs startup-notification-1 wnck-1 xcb xcb-aux
WANTLIB += xcb-render xcb-shm stdc++ xfce4ui-1 xfce4util xfconf-0 z
WANTLIB += harfbuzz icudata icule icuuc
FAKE_FLAGS= settingsdir=${PREFIX}/share/examples/xfce4-session \
conffilesdir=${PREFIX}/share/examples/xfce4-session \
autostartdir=${PREFIX}/share/examples/xfce4-session
post-install:
${SUBST_CMD} ${PREFIX}/bin/xflock4
rm -f ${PREFIX}/bin/*.beforesubst
.include <bsd.port.mk>