blob: 70933aa5e2d99eca75ffd05a27ef6857684cc9f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.12 2008/05/26 02:13:26 joerg Exp $
#
DISTNAME= rox-session-0.28
PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://rox.sourceforge.net/
COMMENT= Very simple session manager
DEPENDS+= rox-lib>=2.0.2nb2:../../devel/rox-lib
WRKSRC= ${WRKDIR}/${DISTNAME}/ROX-Session
DIST_SUBDIR= rox
NO_BUILD= yes
PYTHON_VERSIONS_ACCEPTED= 25 24
PYTHON_PATCH_SCRIPTS= AppRun tests/testutils.py
INSTALLATION_DIRS= share/rox/ROX-Session
SUBST_CLASSES+= path
SUBST_MESSAGE.path= Fixing hardcoded paths.
SUBST_STAGE.path= post-patch
SUBST_FILES.path= Login
SUBST_SED.path= -e 's,/usr/local,${PREFIX},g'
SUBST_CLASSES+= lib
SUBST_MESSAGE.lib= Fixing hardcoded paths for ROX-Lib.
SUBST_STAGE.lib= post-patch
SUBST_FILES.lib= findrox.py
SUBST_SED.lib= -e 's,/usr/local/lib,${PREFIX}/share/rox,g'
USE_TOOLS+= pax
pre-install:
${RM} -f ${WRKSRC}/wm.py.orig
${RM} -f ${WRKSRC}/setup.py.orig
do-install:
cd ${WRKSRC} && pax -rw . ${PREFIX}/share/rox/ROX-Session
.include "../../lang/python/application.mk"
.include "../../sysutils/py-dbus/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|