aboutsummaryrefslogtreecommitdiff
path: root/print/system-config-printer
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2011-03-14 21:34:06 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2011-03-14 21:34:06 +0000
commit3f3a04afebe8789235220bb30395cc967510d160 (patch)
treed1b429e1e36f387de99b715cbdb8d97b7d04e75e /print/system-config-printer
parent2bdfcc234dba2d59a513db776b38e3c9f93a8df5 (diff)
downloadports-3f3a04afebe8789235220bb30395cc967510d160.tar.gz
ports-3f3a04afebe8789235220bb30395cc967510d160.zip
Notes
Diffstat (limited to 'print/system-config-printer')
-rw-r--r--print/system-config-printer/Makefile8
-rw-r--r--print/system-config-printer/distinfo1
-rw-r--r--print/system-config-printer/pkg-plist5
3 files changed, 11 insertions, 3 deletions
diff --git a/print/system-config-printer/Makefile b/print/system-config-printer/Makefile
index 635b8a42f0d5..bff2403088a8 100644
--- a/print/system-config-printer/Makefile
+++ b/print/system-config-printer/Makefile
@@ -8,7 +8,7 @@
PORTNAME= system-config-printer
PORTVERSION= 1.1.16
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print gnome
MASTER_SITES= http://cyberelk.net/tim/data/${PORTNAME}/${PORTVERSION:R}/
@@ -37,8 +37,14 @@ USE_GNOME= pygtk2
MAN1= system-config-printer-applet.1 system-config-printer.1
PLIST_SUB= PYTHON_VER=${PYTHON_VERSION:S/python//}
+INSTALLS_EGGINFO= yes
+PYDISTUTILS_PKGNAME= cupshelpers
+PYDISTUTILS_PKGVERSION= 1.0
+
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
's|%%LOCALBASE%%|${LOCALBASE}|g; s|%%PREFIX%%|${PREFIX}|g'
+ @${REINPLACE_CMD} -e 's|setup.py install|setup.py install -c -O1|g' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/print/system-config-printer/distinfo b/print/system-config-printer/distinfo
index 166a1797f53c..930699013467 100644
--- a/print/system-config-printer/distinfo
+++ b/print/system-config-printer/distinfo
@@ -1,3 +1,2 @@
-MD5 (system-config-printer-1.1.16.tar.bz2) = 22394a052fa730a890f6bfea1aec0aa2
SHA256 (system-config-printer-1.1.16.tar.bz2) = 176b63ee6af2208313469192eb34eb12b41fe8b890a18c8a5ab693010a8e785d
SIZE (system-config-printer-1.1.16.tar.bz2) = 1036604
diff --git a/print/system-config-printer/pkg-plist b/print/system-config-printer/pkg-plist
index 97dff56eb3ed..260cfff6b8bc 100644
--- a/print/system-config-printer/pkg-plist
+++ b/print/system-config-printer/pkg-plist
@@ -3,15 +3,18 @@ bin/system-config-printer
bin/system-config-printer-applet
etc/dbus-1/system.d/newprinternotification.conf
etc/xdg/autostart/print-applet.desktop
-%%PYTHON_SITELIBDIR%%/cupshelpers-1.0-py%%PYTHON_VER%%.egg-info
%%PYTHON_SITELIBDIR%%/cupshelpers/__init__.py
%%PYTHON_SITELIBDIR%%/cupshelpers/__init__.pyc
+%%PYTHON_SITELIBDIR%%/cupshelpers/__init__.pyo
%%PYTHON_SITELIBDIR%%/cupshelpers/cupshelpers.py
%%PYTHON_SITELIBDIR%%/cupshelpers/cupshelpers.pyc
+%%PYTHON_SITELIBDIR%%/cupshelpers/cupshelpers.pyo
%%PYTHON_SITELIBDIR%%/cupshelpers/openprinting.py
%%PYTHON_SITELIBDIR%%/cupshelpers/openprinting.pyc
+%%PYTHON_SITELIBDIR%%/cupshelpers/openprinting.pyo
%%PYTHON_SITELIBDIR%%/cupshelpers/ppds.py
%%PYTHON_SITELIBDIR%%/cupshelpers/ppds.pyc
+%%PYTHON_SITELIBDIR%%/cupshelpers/ppds.pyo
share/applications/manage-print-jobs.desktop
share/applications/my-default-printer.desktop
share/applications/system-config-printer.desktop