Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / rox-lib / Makefile
blob8b202cf9759f19202cc1f84f0cd1f6b2e0007424
1 # $NetBSD: Makefile,v 1.17 2012/01/27 13:02:05 obache Exp $
4 DISTNAME= rox-lib-2.0.2
5 PKGREVISION= 14
6 CATEGORIES= devel
7 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
8 EXTRACT_SUFX= .tgz
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
19 DIST_SUBDIR= rox
21 NO_BUILD= yes
23 USE_TOOLS+= pax
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
31 SUBST_CLASSES+= path
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'
40 SUBST_CLASSES+= lib
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'
46 do-install:
47 cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/share/rox/ROX-Lib2
49 .include "../../lang/python/application.mk"
50 .include "../../mk/bsd.pkg.mk"