2012-10-21 14:39:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2012/10/21 18:39:00 ajacoutot Exp $
|
2008-04-10 06:21:42 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
2012-10-21 14:39:00 -04:00
|
|
|
REVISION= 1
|
2012-10-13 04:55:16 -04:00
|
|
|
|
2008-04-20 05:49:33 -04:00
|
|
|
CATEGORIES= print
|
2008-04-10 06:21:42 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://cyberelk.net/tim/software/pycups/
|
|
|
|
|
2010-03-21 05:46:02 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-04-10 06:21:42 -04:00
|
|
|
# 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
|
|
|
|
2008-04-10 06:21:42 -04:00
|
|
|
MASTER_SITES= http://cyberelk.net/tim/data/pycups/
|
|
|
|
|
2012-10-13 04:55:16 -04:00
|
|
|
MODULES= lang/python \
|
|
|
|
converters/libiconv
|
2008-04-10 06:21:42 -04:00
|
|
|
|
2012-08-04 10:43:10 -04:00
|
|
|
LIB_DEPENDS= print/cups,-libs \
|
2011-07-16 02:59:07 -04:00
|
|
|
${MODPY_LIB_DEPENDS}
|
2008-04-10 06:21:42 -04:00
|
|
|
|
2011-05-04 05:09:10 -04:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${MODPY_EGG_VERSION}\"
|
2008-04-10 06:21:42 -04:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2012-10-21 14:39:00 -04:00
|
|
|
MAKE_ENV= PYTHON="${MODPY_BIN}"
|
2008-04-10 06:21:42 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
pre-configure:
|
2010-08-01 07:59:18 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/cupsconnection.c
|
2008-04-10 06:21:42 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|