diff options
author | mva <mva@FreeBSD.org> | 2014-09-29 23:42:16 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-09-29 23:42:16 +0800 |
commit | 77dd2ab65a28279c53bc8f7a8ceddeeb75f06d7e (patch) | |
tree | 2660bf76220d3adb551133d05300428416236a94 /print | |
parent | 3574b66da4094fe89564717a85b171848948bb7b (diff) | |
download | freebsd-ports-gnome-77dd2ab65a28279c53bc8f7a8ceddeeb75f06d7e.tar.gz freebsd-ports-gnome-77dd2ab65a28279c53bc8f7a8ceddeeb75f06d7e.tar.zst freebsd-ports-gnome-77dd2ab65a28279c53bc8f7a8ceddeeb75f06d7e.zip |
- Convert to USES=python
- Fix staging behaviour for python bits
PR: 194007
Submitted by: mysefl
Approved by: gnome@ (kwm)
Diffstat (limited to 'print')
-rw-r--r-- | print/system-config-printer/Makefile | 10 |
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> |