pkgsrc/print/py-cups/Makefile
wiz aada88e659 Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
2012-04-08 19:08:44 +00:00

28 lines
813 B
Makefile

# $NetBSD: Makefile,v 1.15 2012/04/08 19:09:11 wiz Exp $
DISTNAME= pycups-${VERSION}
PKGNAME= ${PYPKGPREFIX}-cups-${VERSION}
VERSION= 1.9.47
PKGREVISION= 3
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
PKG_DESTDIR_SUPPORT= user-destdir
CFLAGS+= -DVERSION=\"${VERSION}\"
PYDISTUTILSPKG= yes
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/extension.mk"
.include "../../print/cups/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"