2008-06-12 04:14:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:21 joerg Exp $
|
2004-07-19 05:07:36 +02:00
|
|
|
|
|
|
|
DISTNAME= ExmanIDE-0.9.4
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 4
|
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
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
SUBST_SED.mod= -e 's,wxPython\.lib\.PyCrust,wxPython.py,g' \
|
|
|
|
-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'
|
|
|
|
|
|
|
|
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
|
|
|
|
|
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
|
|
|
|
${PYTHONBIN} ${PYCOMPILEALL} ${DESTDIR}${PREFIX}/share/ExmanIDE
|
|
|
|
${PYTHONBIN} -O ${PYCOMPILEALL} ${DESTDIR}${PREFIX}/share/ExmanIDE
|
2004-07-19 05:07:36 +02:00
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|