2ffbaf3d20
after Python 2.3 has been removed from "pkgsrc". Approved by Thomas Klausner.
29 lines
814 B
Makefile
29 lines
814 B
Makefile
# $NetBSD: Makefile,v 1.6 2009/09/23 09:54:46 tron Exp $
|
|
|
|
DISTNAME= pycups-${VERSION}
|
|
PKGNAME= ${PYPKGPREFIX}-cups-${VERSION}
|
|
VERSION= 1.9.46
|
|
PKGREVISION= 1
|
|
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"
|