pkgsrc/devel/boa-constructor/Makefile
wiz aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00

51 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2014/01/25 10:30:00 wiz Exp $
VERSION= 0.6.1
DISTNAME= boa-constructor-${VERSION}.src
PKGNAME= boa-constructor-${VERSION}
PKGREVISION= 22
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=boa-constructor/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://boa-constructor.sourceforge.net/
COMMENT= Python IDE
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
PREV_PKGPATH= devel/boaconstructor
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
BOADIR= ${PREFIX}/share/boa-constructor-${VERSION}
INSTALLATION_DIRS= bin ${BOADIR}
SEDSUBSTS= -e "s|@PYTHONBIN@|${PYTHONBIN}|"
SEDSUBSTS+= -e "s|@PREFIX@|${PREFIX}|"
SEDSUBSTS+= -e "s|@VERSION@|${VERSION}|"
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-wxWidgets
REPLACE_PYTHON+= Boa.py
REPLACE_PYTHON+= Examples/advanced/FramePanels/wxApp1.py
REPLACE_PYTHON+= Examples/frames/wxApp1.py
REPLACE_PYTHON+= Examples/guide/App1.py
REPLACE_PYTHON+= Examples/mdi/wxApp1.py
REPLACE_PYTHON+= ExternalLib/ndiff.py
REPLACE_PYTHON+= ExternalLib/pylint.py
REPLACE_PYTHON+= ExternalLib/reindent.py
REPLACE_PYTHON+= ExternalLib/tarfile.py
USE_TOOLS+= pax
do-build:
${SED} ${SEDSUBSTS} < ${FILESDIR}/Boa.sh > ${WRKDIR}/Boa
do-install:
cd ${WRKSRC} && pax -rw . ${DESTDIR}${BOADIR}
${CHMOD} -R go-w ${DESTDIR}${BOADIR}
${INSTALL_SCRIPT} ${WRKDIR}/Boa ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../x11/py-wxWidgets/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"