svn commit: r315019 - head/print/py-cups
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Mar 23 09:20:26 UTC 2013
Author: sunpoet
Date: Sat Mar 23 09:20:25 2013
New Revision: 315019
URL: http://svnweb.freebsd.org/changeset/ports/315019
Log:
- Update to 1.9.63
- Remove unnecessary -liconv from LDFLAGS
- Cleanup Makefile header
- Cosmetic change
Changes: http://git.fedorahosted.org/cgit/pycups.git/tree/ChangeLog
http://git.fedorahosted.org/cgit/pycups.git/tree/NEWS
Modified:
head/print/py-cups/Makefile
head/print/py-cups/distinfo (contents, props changed)
Modified: head/print/py-cups/Makefile
==============================================================================
--- head/print/py-cups/Makefile Sat Mar 23 09:19:26 2013 (r315018)
+++ head/print/py-cups/Makefile Sat Mar 23 09:20:25 2013 (r315019)
@@ -1,12 +1,8 @@
-# New ports collection makefile for: py-cups
-# Date created: 2008-03-20
-# Whom: Michael Johnson <ahze at FreeBSD.org>
-#
+# Created by: Michael Johnson <ahze at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= cups
-PORTVERSION= 1.9.62
+PORTVERSION= 1.9.63
CATEGORIES= print python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,19 +13,21 @@ COMMENT= CUPS bindings for Python
LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client
-CFLAGS+= -I${LOCALBASE}/include -DVERSION=\\\"${PORTVERSION}\\\"
-LDFLAGS+= -L${LOCALBASE}/lib -liconv
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
USE_BZIP2= yes
USE_ICONV= yes
USE_PYDISTUTILS= yes
USE_PYTHON= -2.7
PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so
-PYDISTUTILS_EGGINFO=py${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg-info
+PYDISTUTILS_EGGINFO= py${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg-info
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|^\(VERSION=\).*$$|\1${PORTVERSION}|' ${WRKSRC}/Makefile
pre-configure:
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
- ${WRKSRC}/cupsconnection.c
+ @${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>
Modified: head/print/py-cups/distinfo
==============================================================================
--- head/print/py-cups/distinfo Sat Mar 23 09:19:26 2013 (r315018)
+++ head/print/py-cups/distinfo Sat Mar 23 09:20:25 2013 (r315019)
@@ -1,2 +1,2 @@
-SHA256 (pycups-1.9.62.tar.bz2) = 72ae9a9c86f0b91ea6301e0d9a3851863fb857d7083962a3e942765cecc2bc01
-SIZE (pycups-1.9.62.tar.bz2) = 52889
+SHA256 (pycups-1.9.63.tar.bz2) = 82fa731a34afe30206bd2a8f4b2ee6a317d8da62a73aa1a2e837b9a217acf797
+SIZE (pycups-1.9.63.tar.bz2) = 53004
More information about the svn-ports-all
mailing list