blob: 8d644b414c0ac6fcaee0b5639780e3b1e5fd17c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: Makefile,v 1.46 2020/08/17 20:19:56 leot Exp $
DISTNAME= pycups-1.9.73
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
PKGREVISION= 13
CATEGORIES= print python
MASTER_SITES= http://cyberelk.net/tim/data/pycups/
MASTER_SITES+= ${MASTER_SITE_PYPI:=p/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=\"${PKGVERSION_NOREV}\"
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-base}/share/cups/", "/usr/share/cups":'
SUBST_STAGE.paths= pre-configure
.include "../../lang/python/distutils.mk"
.include "../../print/cups-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|