aboutsummaryrefslogtreecommitdiff
path: root/print/kdeutils4-printer-applet
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2010-05-11 14:21:05 +0000
committerDima Panov <fluffy@FreeBSD.org>2010-05-11 14:21:05 +0000
commit746dafd424713f46f27e6561400a22ae505afdca (patch)
treef4e7e7d7651a2a2e8d4dd6af2b664e2d2f9b6ad3 /print/kdeutils4-printer-applet
parentd23523dad66e233a7e17b2182e13d5ad2cfb641d (diff)
downloadports-746dafd424713f46f27e6561400a22ae505afdca.tar.gz
ports-746dafd424713f46f27e6561400a22ae505afdca.zip
Notes
Diffstat (limited to 'print/kdeutils4-printer-applet')
-rw-r--r--print/kdeutils4-printer-applet/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/print/kdeutils4-printer-applet/Makefile b/print/kdeutils4-printer-applet/Makefile
index ffc696a3e4cd..a71f39d226dc 100644
--- a/print/kdeutils4-printer-applet/Makefile
+++ b/print/kdeutils4-printer-applet/Makefile
@@ -7,7 +7,6 @@
PORTNAME= printer-applet
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 3
CATEGORIES= print kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@@ -18,25 +17,21 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Printer system tray utility for KDE4
-BUILD_DEPENDS= system-config-printer:${PORTSDIR}/print/system-config-printer \
- ${PYTHON_SITELIBDIR}/cups.so:${PORTSDIR}/print/py-cups \
- ${PYTHON_KDE4PREFIX_SITELIBDIR}/PyKDE4/kdeui.so:${PORTSDIR}/devel/kdebindings4-python-pykde4
-RUN_DEPENDS:= ${BUILD_DEPENDS} \
- ${PYTHON_SITELIBDIR}/dbus/mainloop/qt.so:${PORTSDIR}/devel/py-qt4-dbus
+RUN_DEPENDS= system-config-printer:${PORTSDIR}/print/system-config-printer \
+ ${PYTHON_SITELIBDIR}/cups.so:${PORTSDIR}/print/py-cups
USE_BZIP2= yes
USE_CMAKE= yes
-USE_KDE4= kdeprefix pimlibs automoc4
+USE_KDE4= kdeprefix pimlibs automoc4 pykde4
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build uic_build rcc_build
USE_PYTHON= 2.5+
MD5_FILE= ${PORTSDIR}/misc/kdeutils4/distinfo
+CMAKE_ARGS+= -DINSTALL_PRINTER_APPLET:Bool=On
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
-PYTHON_KDE4PREFIX_SITELIBDIR= ${PYTHON_SITELIBDIR:S;${PYTHONBASE};${KDE4_PREFIX};}
-
post-patch:
cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
printer-applet-printers.ui \