diff options
author | arved <arved@FreeBSD.org> | 2010-07-28 21:43:32 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2010-07-28 21:43:32 +0800 |
commit | 6d7c5b72dabdf8894280f1fd9d9af19a9f69d003 (patch) | |
tree | 8f3332470b4069b7aa3b18f5cf833386492d169a /print/py-cups | |
parent | 40f842c7a000de30029b959f20438d39e81a69bd (diff) | |
download | freebsd-ports-gnome-6d7c5b72dabdf8894280f1fd9d9af19a9f69d003.tar.gz freebsd-ports-gnome-6d7c5b72dabdf8894280f1fd9d9af19a9f69d003.tar.zst freebsd-ports-gnome-6d7c5b72dabdf8894280f1fd9d9af19a9f69d003.zip |
Update to 1.9.51
Pass maintainership to submitter
PR: 148940
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Diffstat (limited to 'print/py-cups')
-rw-r--r-- | print/py-cups/Makefile | 21 | ||||
-rw-r--r-- | print/py-cups/distinfo | 6 | ||||
-rw-r--r-- | print/py-cups/files/patch-cupsppd.c | 11 |
3 files changed, 15 insertions, 23 deletions
diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile index 07e87449fc9a..73dc93cdebe7 100644 --- a/print/py-cups/Makefile +++ b/print/py-cups/Makefile @@ -6,29 +6,32 @@ # $MCom: ports/print/py-cups/Makefile,v 1.3 2009/12/29 16:01:46 ahze Exp $ PORTNAME= cups -PORTVERSION= 1.9.47 +PORTVERSION= 1.9.51 CATEGORIES= print python -MASTER_SITES= http://cyberelk.net/tim/data/pycups/ +MASTER_SITES= http://cyberelk.net/tim/data/pycups/ \ + http://sunpoet.net/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@sunpoet.net COMMENT= CUPS bindings for Python LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client -USE_PYTHON= yes -USE_ICONV= yes -USE_BZIP2= yes -USE_PYDISTUTILS= yes CFLAGS+= -I${LOCALBASE}/include -DVERSION=\\\"${PORTVERSION}\\\" LDFLAGS+= -L${LOCALBASE}/lib -liconv MAKE_ENV= LDFLAGS="${LDFLAGS}" -PYDISTUTILS_EGGINFO=${PORTNAME}-1.0-py${PYTHON_VER}.egg-info +USE_BZIP2= yes +USE_ICONV= yes +USE_PYDISTUTILS= yes +USE_PYTHON= yes + PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so +PYDISTUTILS_EGGINFO=py${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg-info pre-configure: - ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/cupsconnection.c + @${REINPLACE_CMD} -e 's|#ifdef __SVR4|#ifdef __FreeBSD__|' ${WRKSRC}/cupsppd.c .include <bsd.port.mk> diff --git a/print/py-cups/distinfo b/print/py-cups/distinfo index d41cd4ca74c9..baf5b9fd45ae 100644 --- a/print/py-cups/distinfo +++ b/print/py-cups/distinfo @@ -1,3 +1,3 @@ -MD5 (pycups-1.9.47.tar.bz2) = b2c94db15c916e0776e320addb279ba8 -SHA256 (pycups-1.9.47.tar.bz2) = 1bb0cb75c1b8e0c4f0677b07546fcd0c9ec9ed04aa977ee9fc5466cbb6fe862b -SIZE (pycups-1.9.47.tar.bz2) = 45175 +MD5 (pycups-1.9.51.tar.bz2) = 7e9de64bce9496ce2d36ab513dd69dd5 +SHA256 (pycups-1.9.51.tar.bz2) = ecc97db89fd95bd3f7af45861314157102d3cb610e984604d847264830777368 +SIZE (pycups-1.9.51.tar.bz2) = 46862 diff --git a/print/py-cups/files/patch-cupsppd.c b/print/py-cups/files/patch-cupsppd.c deleted file mode 100644 index 83b68ca60b3c..000000000000 --- a/print/py-cups/files/patch-cupsppd.c +++ /dev/null @@ -1,11 +0,0 @@ ---- cupsppd.c.orig 2008-03-20 10:16:42.000000000 -0400 -+++ cupsppd.c 2008-03-20 10:17:16.000000000 -0400 -@@ -451,7 +451,7 @@ - return PyBool_FromLong (nondefaults_marked); - } - --#ifdef __SVR4 -+#if 1 - /* - * A rudimentary emulation of getline() for systems that dont support it - * natively. Since this is used for PPD file reading, it assumes (possibly |