openbsd-ports/print/py-cups/Makefile

44 lines
938 B
Makefile
Raw Normal View History

2011-12-04 11:56:45 -05:00
# $OpenBSD: Makefile,v 1.21 2011/12/04 16:56:45 ajacoutot Exp $
COMMENT= CUPS bindings for Python
2011-12-04 11:56:45 -05:00
MODPY_EGG_VERSION= 1.9.60
2011-05-04 05:09:10 -04:00
DISTNAME= pycups-${MODPY_EGG_VERSION}
PKGNAME= py-cups-${MODPY_EGG_VERSION}
2010-08-01 07:59:18 -04:00
2008-04-20 05:49:33 -04:00
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
2011-07-16 02:59:07 -04:00
WANTLIB += cups ${MODPY_WANTLIB}
2010-08-01 07:59:18 -04:00
MASTER_SITES= http://cyberelk.net/tim/data/pycups/
EXTRACT_SUFX= .tar.bz2
MODULES= converters/libiconv \
lang/python
2011-07-16 02:59:07 -04:00
LIB_DEPENDS= print/cups \
${MODPY_LIB_DEPENDS}
2011-05-04 05:09:10 -04:00
CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${MODPY_EGG_VERSION}\"
LDFLAGS+= -L${LOCALBASE}/lib
2011-05-04 05:09:10 -04:00
MAKE_ENV= PYTHON="${MODPY_BIN}" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
NO_REGRESS= Yes
pre-configure:
2010-08-01 07:59:18 -04:00
${SUBST_CMD} ${WRKSRC}/cupsconnection.c
.include <bsd.port.mk>