openbsd-ports/print/py-cups/Makefile

44 lines
916 B
Makefile
Raw Normal View History

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