aboutsummaryrefslogtreecommitdiff
path: root/print/system-config-printer
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-09-29 15:42:16 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-09-29 15:42:16 +0000
commit8a799114da60dbe75cc44225939ec18f96a13326 (patch)
tree2660bf76220d3adb551133d05300428416236a94 /print/system-config-printer
parent605d43cc27176dd8be38a424c4fc3c77d0eee67a (diff)
downloadports-8a799114da60dbe75cc44225939ec18f96a13326.tar.gz
ports-8a799114da60dbe75cc44225939ec18f96a13326.zip
- Convert to USES=python
- Fix staging behaviour for python bits PR: 194007 Submitted by: mysefl Approved by: gnome@ (kwm)
Notes
Notes: svn path=/head/; revision=369533
Diffstat (limited to 'print/system-config-printer')
-rw-r--r--print/system-config-printer/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/print/system-config-printer/Makefile b/print/system-config-printer/Makefile
index e2864680ec8c..d9f15fc899ac 100644
--- a/print/system-config-printer/Makefile
+++ b/print/system-config-printer/Makefile
@@ -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.so:${PORTSDIR}/print/py-cups \
${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/python//}
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>