Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2014 15:42:17 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369533 - head/print/system-config-printer
Message-ID:  <201409291542.s8TFgHeT085739@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Mon Sep 29 15:42:16 2014
New Revision: 369533
URL: http://svnweb.freebsd.org/changeset/ports/369533
QAT: https://qat.redports.org/buildarchive/r369533/

Log:
  - Convert to USES=python
  - Fix staging behaviour for python bits
  
  PR:		194007
  Submitted by:	mysefl
  Approved by:	gnome@ (kwm)

Modified:
  head/print/system-config-printer/Makefile

Modified: head/print/system-config-printer/Makefile
==============================================================================
--- head/print/system-config-printer/Makefile	Mon Sep 29 15:41:16 2014	(r369532)
+++ head/print/system-config-printer/Makefile	Mon Sep 29 15:42:16 2014	(r369533)
@@ -4,7 +4,7 @@
 
 PORTNAME=	system-config-printer
 PORTVERSION=	1.4.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	print gnome
 MASTER_SITES=	http://cyberelk.net/tim/data/${PORTNAME}/${PORTVERSION:R}/
 
@@ -18,10 +18,9 @@ RUN_DEPENDS=	${PYTHON_SITELIBDIR}/cups.s
 		${PYTHON_SITELIBDIR}/pycurl.so:${PORTSDIR}/ftp/py-curl \
 		${LOCALBASE}/libexec/cups-pk-helper-mechanism:${PORTSDIR}/print/cups-pk-helper
 
-USE_PYTHON=	yes
 GNU_CONFIGURE=	yes
-USES=		desktop-file-utils gettext gmake pathfix pkgconfig shebangfix \
-		tar:xz
+USES=		desktop-file-utils gettext gmake pathfix pkgconfig python \
+		shebangfix tar:xz
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_GNOME=	intlhack pygobject3
@@ -33,7 +32,6 @@ PLIST_SUB=	PYTHON_VER=${PYTHON_VERSION:S
 
 SHEBANG_FILES=	*.py troubleshoot/*.py xml/validate.py
 
-INSTALLS_EGGINFO=	yes
 PYDISTUTILS_PKGNAME=	cupshelpers
 PYDISTUTILS_PKGVERSION=	1.0
 
@@ -45,7 +43,7 @@ post-patch:
 		${WRKSRC}/cupshelpers/xmldriverprefs.py \
 		${WRKSRC}/dbus/org.fedoraproject.Config.Printing.service \
 		${WRKSRC}/newprinter.py ${WRKSRC}/probe_printer.py
-	@${REINPLACE_CMD} -e 's|setup.py install|setup.py install -c -O1|g' \
+	@${REINPLACE_CMD} -e 's|setup.py install.*|setup.py install -c -O1 --prefix=${PREFIX} --root=${STAGEDIR}|g' \
 		${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409291542.s8TFgHeT085739>