1 # $NetBSD: Makefile,v 1.17 2012/01/27 13:02:05 obache Exp $
4 DISTNAME
= rox-lib-2.0
.2
7 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=rox
/}
10 MAINTAINER
= rxg@NetBSD.org
11 HOMEPAGE
= http
://rox.sourceforge.net
/desktop
/node
/46
12 COMMENT
= Shared code for ROX applications
14 DEPENDS
+= rox
>=2.2.0:..
/..
/sysutils
/rox
15 DEPENDS
+= ${PYPKGPREFIX}-expat
>=0nb2
:..
/..
/textproc
/py-expat
16 DEPENDS
+= ${PYPKGPREFIX}-gtk2
>=1.99.13:..
/..
/x11
/py-gtk2
18 WRKSRC
= ${WRKDIR}/${DISTNAME}/ROX-Lib2
25 PYTHON_PATCH_SCRIPTS
= AppRun MakeDist
26 PYTHON_PATCH_SCRIPTS
+= python
/make_docs.py
27 PYTHON_PATCH_SCRIPTS
+= tests
/python
/*.py
29 INSTALLATION_DIRS
= share
/rox
/ROX-Lib2
32 SUBST_MESSAGE.path
= Fixing hardcoded paths.
33 SUBST_STAGE.path
= post-patch
34 SUBST_FILES.path
= python
/rox
/basedir.py
35 SUBST_FILES.path
+= python
/rox
/choices.py
36 SUBST_FILES.path
+= tests
/python
/testbasedir.py
37 SUBST_FILES.path
+= tests
/python
/testchoices.py
38 SUBST_SED.path
= -e
's,/usr/local,${PREFIX},g'
41 SUBST_MESSAGE.lib
= Fixing hardcoded paths for ROX-Lib.
42 SUBST_STAGE.lib
= post-patch
43 SUBST_FILES.lib
= Help
/findrox.py
44 SUBST_SED.lib
= -e
's,/usr/local/lib,${PREFIX}/share/rox,g'
47 cd
${WRKSRC} && pax
-rw .
${DESTDIR}${PREFIX}/share
/rox
/ROX-Lib2
49 .
include "../../lang/python/application.mk"
50 .
include "../../mk/bsd.pkg.mk"