# $OpenBSD: Makefile,v 1.21 2011/12/04 16:56:45 ajacoutot Exp $ COMMENT= CUPS bindings for Python MODPY_EGG_VERSION= 1.9.60 DISTNAME= pycups-${MODPY_EGG_VERSION} PKGNAME= py-cups-${MODPY_EGG_VERSION} CATEGORIES= print HOMEPAGE= http://cyberelk.net/tim/software/pycups/ MAINTAINER= Antoine Jacoutot # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB += cups ${MODPY_WANTLIB} MASTER_SITES= http://cyberelk.net/tim/data/pycups/ EXTRACT_SUFX= .tar.bz2 MODULES= converters/libiconv \ lang/python LIB_DEPENDS= print/cups \ ${MODPY_LIB_DEPENDS} CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${MODPY_EGG_VERSION}\" LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV= PYTHON="${MODPY_BIN}" \ CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" NO_REGRESS= Yes pre-configure: ${SUBST_CMD} ${WRKSRC}/cupsconnection.c .include