2014-05-09 09:36:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2014/05/09 07:36:58 wiz Exp $
|
2004-07-19 05:07:36 +02:00
|
|
|
|
|
|
|
DISTNAME= ExmanIDE-0.9.4
|
2012-03-15 12:53:20 +01:00
|
|
|
PKGREVISION= 7
|
2004-07-19 05:07:36 +02:00
|
|
|
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
|
|
|
|
|
2005-10-02 18:07:30 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-wxWidgets>=2.6:../../x11/py-wxWidgets
|
2004-07-19 05:07:36 +02:00
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2004-07-19 05:07:36 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGBASE}
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-wxWidgets
|
2014-01-25 11:29:56 +01:00
|
|
|
|
2004-07-19 05:07:36 +02:00
|
|
|
SUBST_CLASSES+= mod
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.mod= Fixing deprecated module names.
|
2004-07-19 05:07:36 +02:00
|
|
|
SUBST_STAGE.mod= post-patch
|
2005-10-02 18:07:30 +02:00
|
|
|
SUBST_FILES.mod= Profile.py SourceEditor.py StcStyle.py
|
2013-04-06 23:07:31 +02:00
|
|
|
SUBST_SED.mod= -e 's,wxPython\.lib\.PyCrust,wxPython.py,g'
|
|
|
|
SUBST_SED.mod+= -e 's,wxPython\.py,wx.py,g'
|
2004-07-19 05:07:36 +02:00
|
|
|
|
|
|
|
SUBST_CLASSES+= py
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.py= Fixing paths in a wrapper script.
|
2004-07-19 05:07:36 +02:00
|
|
|
SUBST_STAGE.py= post-patch
|
|
|
|
SUBST_FILES.py= ExmanIDE
|
|
|
|
SUBST_SED.py= -e 's,python \$$0\.pyw,${PYTHONBIN} ${PREFIX}/share/${PKGBASE}/ExmanIDE.pyw,g'
|
|
|
|
|
2011-09-25 21:41:38 +02:00
|
|
|
SUBST_CLASSES+= py2
|
|
|
|
SUBST_MESSAGE.py2= Fixing path in Python module.
|
|
|
|
SUBST_STAGE.py2= post-patch
|
|
|
|
SUBST_FILES.py2= ExmanIDE.pyw
|
|
|
|
SUBST_SED.py2= -e 's,/usr/bin/env python.*$$,${PYTHONBIN},'
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= bin share/ExmanIDE
|
2004-07-19 05:07:36 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-06-12 04:14:13 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ExmanIDE ${DESTDIR}${PREFIX}/bin
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC} && pax -rwppm '-s|.*/CVS.*$$||' \
|
2004-07-19 05:07:36 +02:00
|
|
|
'-s|.*/ExmanIDE$$||' '-s|.*/.xvpics.*$$||' \
|
2008-06-12 04:14:13 +02:00
|
|
|
. ${DESTDIR}${PREFIX}/share/ExmanIDE
|
2009-07-08 15:55:58 +02:00
|
|
|
${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/ExmanIDE
|
|
|
|
${PY_COMPILE_O_ALL} ${DESTDIR}${PREFIX}/share/ExmanIDE
|
2004-07-19 05:07:36 +02:00
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|