diff options
Diffstat (limited to 'devel/ExmanIDE/Makefile')
-rw-r--r-- | devel/ExmanIDE/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/devel/ExmanIDE/Makefile b/devel/ExmanIDE/Makefile new file mode 100644 index 00000000000..968e33273ee --- /dev/null +++ b/devel/ExmanIDE/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/07/19 03:07:36 minskim Exp $ + +DISTNAME= ExmanIDE-0.9.4 +CATEGORIES= devel +MASTER_SITES= http://kldp.net/download.php/715/ + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://exmanide.kldp.net/ +COMMENT= Integrated development environment for Python + +DEPENDS+= ${PYPKGPREFIX}-wxWindows>=2.4.2:../../py-wxWindows + +WRKSRC= ${WRKDIR}/${PKGBASE} +USE_BUILDLINK3= yes +NO_CONFIGURE= yes +NO_BUILD= yes + +PYTHON_VERSIONS_ACCEPTED?= 23 23pth 22 22pth + +SUBST_CLASSES+= mod +SUBST_MESSAGE.mod= "Fixing deprecated module names." +SUBST_STAGE.mod= post-patch +SUBST_FILES.mod= Profile.py SourceEditor.py +SUBST_SED.mod= -e 's,wxPython\.lib\.PyCrust,wxPython.py,g' + +SUBST_CLASSES+= py +SUBST_MESSAGE.py= "Fixing paths in a wrapper script." +SUBST_STAGE.py= post-patch +SUBST_FILES.py= ExmanIDE +SUBST_SED.py= -e 's,python \$$0\.pyw,${PYTHONBIN} ${PREFIX}/share/${PKGBASE}/ExmanIDE.pyw,g' + +PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py + +INSTALLATION_DIRS= bin + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/ExmanIDE ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE} + cd ${WRKSRC} && ${PAX} -rwppm '-s|.*/CVS.*$$||' \ + '-s|.*/ExmanIDE$$||' '-s|.*/.xvpics.*$$||' \ + . ${PREFIX}/share/${PKGBASE} + ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/${PKGBASE} + ${PYTHONBIN} -O ${PYCOMPILEALL} ${PREFIX}/share/${PKGBASE} + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" |