[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / boa-constructor

File: [cvs.NetBSD.org] / pkgsrc / devel / boa-constructor / Attic / Makefile (download)

Revision 1.40, Tue Jul 3 05:03:08 2018 UTC (5 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.39: +2 -2 lines

extend PYTHON_VERSIONS_ for Python 3.7

# $NetBSD: Makefile,v 1.40 2018/07/03 05:03:08 adam Exp $

VERSION=		0.6.1
DISTNAME=		boa-constructor-${VERSION}.src
PKGNAME=		boa-constructor-${VERSION}
PKGREVISION=		29
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=	34 35 36 37 # 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"