summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/py-cups/Makefile29
-rw-r--r--print/py-cups/distinfo3
-rw-r--r--print/py-cups/pkg-descr3
3 files changed, 35 insertions, 0 deletions
diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile
new file mode 100644
index 000000000..84ca214da
--- /dev/null
+++ b/print/py-cups/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: py-cups
+# Date created: 2008-03-20
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= cups
+PORTVERSION= 1.9.37
+CATEGORIES= print
+MASTER_SITES= http://cyberelk.net/tim/data/pycups/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= CUPS bindings for Python
+
+LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base
+
+USE_PYTHON= yes
+USE_BZIP2= yes
+USE_PYDISTUTILS= yes
+CFLAGS+= -I${LOCALBASE}/include -DVERSION=\\\"${PORTVERSION}\\\"
+LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+PYDISTUTILS_EGGINFO=${PORTNAME}-1.0-py2.5.egg-info
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so
+
+.include <bsd.port.mk>
diff --git a/print/py-cups/distinfo b/print/py-cups/distinfo
new file mode 100644
index 000000000..91bc0dc00
--- /dev/null
+++ b/print/py-cups/distinfo
@@ -0,0 +1,3 @@
+MD5 (pycups-1.9.37.tar.bz2) = bb9c0fecb8ef37942f3a5de7fa5d16a8
+SHA256 (pycups-1.9.37.tar.bz2) = 1d0a2402307614dc13c4fe237e2d3092677aa64127e0897c0524558b3add81a6
+SIZE (pycups-1.9.37.tar.bz2) = 36857
diff --git a/print/py-cups/pkg-descr b/print/py-cups/pkg-descr
new file mode 100644
index 000000000..1b76ec48e
--- /dev/null
+++ b/print/py-cups/pkg-descr
@@ -0,0 +1,3 @@
+CUPS bindings for Python
+
+WWW: http://cyberelk.net/tim/software/pycups/