openbsd-ports/x11/xfce4/xfce4-session/Makefile
landry 0c244c928a Provide a .desktop file for GDM to permit it to launch Xfce4. While here,
mention xfprint in the list of companion apps in README.OpenBSD.

ok ajacoutot@
2008-02-05 12:52:09 +00:00

55 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2008/02/05 12:52:09 landry Exp $
COMMENT= xfce4 session manager
V= 4.4.2
DISTNAME= xfce4-session-${V}
PKGNAME= ${DISTNAME}p1
SHARED_LIBS += xfsm-4.2 0.1 # .0.1
HOMEPAGE= http://www.xfce.org/projects/xfce4-session/
MAINTAINER= Landry Breuil <gaston@gcu.info>
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MASTER_SITES= http://www.xfce.org/archive/xfce-${V}/src/
EXTRACT_SUFX= .tar.bz2
USE_GMAKE= Yes
CONFIGURE_ARGS= --disable-dbus \
--enable-session-screenshots
BUILD_DEPENDS= ::x11/xfce4/xfce-mcs-manager \
::textproc/p5-XML-Parser
LIB_DEPENDS= xfcegui4.>=4::x11/xfce4/libxfcegui4 \
xfce4mcs-client.>=3::x11/xfce4/libxfce4mcs
RUN_DEPENDS= ::devel/desktop-file-utils \
::x11/xfce4/xfce-mcs-manager
WANTLIB= ICE SM X11 Xau Xdmcp Xdamage Xrender fontconfig freetype \
Xcursor Xext Xfixes Xi Xcomposite Xinerama Xrandr expat \
atk-1.0 gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 m c z \
gmodule-2.0 gobject-2.0 gtk-x11-2.0 pango-1.0 pcre \
pangoft2-1.0 pangocairo-1.0 cairo glitz png \
startup-notification-1 xfce4util
post-install:
@sed -e 's,!!PREFIX!!,${TRUEPREFIX},' \
-e 's,!!LOCALBASE!!,${LOCALBASE},' \
${FILESDIR}/README.OpenBSD > ${WRKBUILD}/README.OpenBSD
@sed -e 's,!!LOCALBASE!!,${LOCALBASE},' \
${FILESDIR}/xfce4.desktop > ${WRKBUILD}/xfce4.desktop
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \
${PREFIX}/share/xfce4/
${INSTALL_DATA_DIR} ${PREFIX}/share/xsessions/
${INSTALL_DATA} ${WRKBUILD}/xfce4.desktop \
${PREFIX}/share/xsessions/
.include <bsd.port.mk>