a28039c1af
- Add LICENSE_FILE - Fix shebangs - Update WWW Approved by: portmgr blanket
65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rox-session
|
|
PORTVERSION= 0.40.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= SF/rox/ROX-Session/${PORTVERSION}/
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Simple session manager for the ROX desktop
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/Help/COPYING
|
|
|
|
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/rox:x11-fm/rox-filer \
|
|
${PYTHON_PKGNAMEPREFIX}roxlib>=0:devel/py-roxlib@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR}
|
|
|
|
WRKSRC= ${WRKDIR}/ROX-Session
|
|
DATADIR= ${PREFIX}/apps/ROX-Session
|
|
|
|
USES= gettext-tools pkgconfig python:2.7 shebangfix
|
|
SHEBANG_FILES= AutoStart.py choose_wm.py interactive.py migrate.py
|
|
USE_GNOME= gtk20 libxml2
|
|
USE_XORG= x11 xext xtst xxf86vm
|
|
|
|
PORTDOCS= Changes DBUS-API README
|
|
|
|
OPTIONS_DEFINE= GDM DOCS
|
|
OPTIONS_SUB= yes
|
|
GDM_DESC= Install GDM login manager
|
|
|
|
SUB_FILES= ${PORTNAME} rox.desktop
|
|
|
|
GDM_RUN_DEPENDS=${LOCALBASE}/sbin/gdm:x11/gdm
|
|
|
|
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}
|
|
|
|
do-install-GDM-on:
|
|
${INSTALL_DATA} ${WRKDIR}/rox.desktop ${STAGEDIR}${PREFIX}/share/applications
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/Help/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|