[Midnightbsd-cvs] mports [21461] trunk/print: add pycups
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu May 26 23:13:19 EDT 2016
Revision: 21461
http://svnweb.midnightbsd.org/mports/?rev=21461
Author: laffer1
Date: 2016-05-26 23:13:18 -0400 (Thu, 26 May 2016)
Log Message:
-----------
add pycups
Modified Paths:
--------------
trunk/print/Makefile
Added Paths:
-----------
trunk/print/py-pycups/
trunk/print/py-pycups/Makefile
trunk/print/py-pycups/distinfo
trunk/print/py-pycups/pkg-descr
Modified: trunk/print/Makefile
===================================================================
--- trunk/print/Makefile 2016-05-26 12:48:00 UTC (rev 21460)
+++ trunk/print/Makefile 2016-05-27 03:13:18 UTC (rev 21461)
@@ -48,6 +48,7 @@
SUBDIR += pdflib
SUBDIR += pecl-pdflib
SUBDIR += psutils
+SUBDIR += py-pycups
SUBDIR += qpdf
SUBDIR += t1utils
SUBDIR += tex-basic-engines
Added: trunk/print/py-pycups/Makefile
===================================================================
--- trunk/print/py-pycups/Makefile (rev 0)
+++ trunk/print/py-pycups/Makefile 2016-05-27 03:13:18 UTC (rev 21461)
@@ -0,0 +1,37 @@
+# Created by: Michael Johnson <ahze at FreeBSD.org>
+# $FreeBSD: head/print/py-pycups/Makefile 410825 2016-03-11 11:53:42Z tijl $
+# $MidnightBSD$
+
+PORTNAME= pycups
+PORTVERSION= 1.9.73
+CATEGORIES= print python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= CUPS bindings for Python
+
+LICENSE= gpl2 gpl3
+LICENSE_COMB= dual
+
+LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups
+
+USE_PYTHON= autoplist concurrent distutils
+USES= iconv localbase python tar:bzip2
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|^\(VERSION=\).*$$|\1${PORTVERSION}|' ${WRKSRC}/Makefile
+.if empty(ICONV_LIB)
+ @${REINPLACE_CMD} -e 's| or sys.platform.startswith("freebsd"):|:|' ${WRKSRC}/setup.py
+.endif
+
+pre-configure:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cupsconnection.c
+ @${REINPLACE_CMD} -e 's|#ifdef __SVR4|#ifdef __FreeBSD__|' ${WRKSRC}/cupsppd.c
+
+post-install:
+ ${STRIP_CMD} ${FAKE_DESTDIR}${PYTHON_SITELIBDIR}/cups.so
+
+.include <bsd.port.post.mk>
Property changes on: trunk/print/py-pycups/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/print/py-pycups/distinfo
===================================================================
--- trunk/print/py-pycups/distinfo (rev 0)
+++ trunk/print/py-pycups/distinfo 2016-05-27 03:13:18 UTC (rev 21461)
@@ -0,0 +1,2 @@
+SHA256 (pycups-1.9.73.tar.bz2) = c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335
+SIZE (pycups-1.9.73.tar.bz2) = 52732
Property changes on: trunk/print/py-pycups/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/print/py-pycups/pkg-descr
===================================================================
--- trunk/print/py-pycups/pkg-descr (rev 0)
+++ trunk/print/py-pycups/pkg-descr 2016-05-27 03:13:18 UTC (rev 21461)
@@ -0,0 +1,4 @@
+CUPS bindings for Python
+
+WWW: https://pypi.python.org/pypi/pycups
+WWW: http://cyberelk.net/tim/software/pycups/
Property changes on: trunk/print/py-pycups/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list