freebsd-ports/x11-fm/rox-session/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

70 lines
1.8 KiB
Makefile

# $FreeBSD$
PORTNAME= rox-session
PORTVERSION= 0.40.0
PORTREVISION= 2
CATEGORIES= x11-fm
MASTER_SITES= SF/rox/ROX-Session/${PORTVERSION}/
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Simple session manager for the ROX desktop
LICENSE= GPLv2
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \
${PYTHON_PKGNAMEPREFIX}roxlib>=0:${PORTSDIR}/devel/py-roxlib \
${PYTHON_PKGNAMEPREFIX}dbus>=0:${PORTSDIR}/devel/py-dbus
WRKSRC= ${WRKDIR}/ROX-Session
DATADIR= ${PREFIX}/apps/ROX-Session
USES= pkgconfig
USE_GNOME= gtk20 libxml2
USE_XORG= x11 xext xtst xxf86vm
USE_PYTHON= yes
PORTDOCS= Changes DBUS-API README
OPTIONS_DEFINE= GDM DOCS
GDM_DESC= Install GDM login manager
SUB_FILES= ${PORTNAME} rox.desktop
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGDM}
RUN_DEPENDS+= ${LOCALBASE}/sbin/gdm:${PORTSDIR}/x11/gdm
PLIST_SUB+= GDM=""
.else
PLIST_SUB+= GDM="@comment "
.endif
post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -delete
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
@cd ${WRKSRC} && ./AppRun --compile
@${MKDIR} ${WRKSRC}/Messages
@cd ${WRKSRC}/src/po && ./dist
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC} && ${CP} -r .DirIcon AppInfo.xml AppRun \
Environment Login Messages Options.xml ROX-Session \
ROX-Session.xml RunROX SetupPanel Styles browser images \
*.py *.pyc *.pyo ${STAGEDIR}${DATADIR}
.if ${PORT_OPTIONS:MGDM}
@${INSTALL_DATA} ${WRKDIR}/rox.desktop ${STAGEDIR}${PREFIX}/share/applications
.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/Help/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>