# $NetBSD: Makefile,v 1.26 2016/03/05 11:29:17 jperkin Exp $ DISTNAME= pycups-${VERSION} PKGNAME= ${PYPKGPREFIX}-cups-${VERSION} PKGREVISION= 1 VERSION= 1.9.71 CATEGORIES= print python MASTER_SITES= http://cyberelk.net/tim/data/pycups/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= markd@NetBSD.org HOMEPAGE= http://cyberelk.net/tim/software/pycups/ COMMENT= Python bindings for the CUPS API LICENSE= gnu-gpl-v2 CFLAGS+= -DVERSION=\"${VERSION}\" SUBST_CLASSES+= paths SUBST_MESSAGE.paths= Fix cups paths. SUBST_FILES.paths= cupsconnection.c SUBST_SED.paths= -e 's:"/usr/share/cups":"${BUILDLINK_PREFIX.cups}/share/cups/", "/usr/share/cups":' SUBST_STAGE.paths= post-patch .include "../../lang/python/distutils.mk" .include "../../print/cups15/buildlink3.mk" .include "../../mk/bsd.pkg.mk"