[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / py-gdmodule

File: [cvs.NetBSD.org] / pkgsrc / graphics / py-gdmodule / Makefile (download)

Revision 1.17, Mon Sep 2 13:20:18 2019 UTC (4 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.16: +2 -2 lines

Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8

# $NetBSD: Makefile,v 1.17 2019/09/02 13:20:18 adam Exp $

DISTNAME=	gdmodule-0.59
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	2
CATEGORIES=	graphics python
MASTER_SITES=	${MASTER_SITE_GITHUB:=Solomoriah/}
GITHUB_PROJECT=	gdmodule
GITHUB_TAG=	v0.59

MAINTAINER=	darcy@NetBSD.org
HOMEPAGE=	https://github.com/Solomoriah/gdmodule
COMMENT=	Python interface to gd graphics library
LICENSE=	original-bsd

PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 0.59

SUBST_CLASSES+=		pkgpath
SUBST_STAGE.pkgpath=	pre-configure
SUBST_MESSAGE.pkgpath=	Use correct pkgsrc prefix.
SUBST_FILES.pkgpath=	setup.py
SUBST_SED.pkgpath=	-e 's,"/usr/local,"${PREFIX},g'
SUBST_SED.pkgpath+=	-e 's,"png","png16",g'

BUILDLINK_API_DEPENDS.gd+=	gd>=2.0.23
.include "../../graphics/gd/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../x11/Xaw-Xpm/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"