2010-08-30 14:29:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2010/08/30 18:29:28 fgsch Exp $
|
2008-04-10 06:21:42 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT= CUPS bindings for Python
|
|
|
|
|
2010-08-01 07:59:18 -04:00
|
|
|
VERSION= 1.9.51
|
2008-04-10 06:21:42 -04:00
|
|
|
DISTNAME= pycups-${VERSION}
|
2009-09-01 04:12:51 -04:00
|
|
|
PKGNAME= py-cups-${VERSION}
|
2010-08-30 14:29:28 -04:00
|
|
|
REVISION = 0
|
2010-08-01 07:59:18 -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
|
|
|
|
|
2010-08-01 07:59:18 -04:00
|
|
|
WANTLIB += cups
|
|
|
|
|
2008-04-10 06:21:42 -04:00
|
|
|
MASTER_SITES= http://cyberelk.net/tim/data/pycups/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MODULES= converters/libiconv \
|
|
|
|
lang/python
|
|
|
|
|
2010-08-01 07:59:18 -04:00
|
|
|
LIB_DEPENDS= ::print/cups
|
2008-04-10 06:21:42 -04:00
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${VERSION}\"
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAKE_ENV= PYTON="${MODPY_BIN}" \
|
|
|
|
CFLAGS="${CFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
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>
|