openbsd-ports/print/py-cups/Makefile
2010-11-20 09:48:38 +00:00

46 lines
884 B
Makefile

# $OpenBSD: Makefile,v 1.13 2010/11/20 09:48:39 espie Exp $
SHARED_ONLY= Yes
COMMENT= CUPS bindings for Python
VERSION= 1.9.51
DISTNAME= pycups-${VERSION}
PKGNAME= py-cups-${VERSION}
REVISION = 0
CATEGORIES= print
HOMEPAGE= http://cyberelk.net/tim/software/pycups/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += cups
MASTER_SITES= http://cyberelk.net/tim/data/pycups/
EXTRACT_SUFX= .tar.bz2
MODULES= converters/libiconv \
lang/python
LIB_DEPENDS= print/cups
CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${VERSION}\"
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= PYTON="${MODPY_BIN}" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/cupsconnection.c
.include <bsd.port.mk>