freebsd-ports/print/kdeutils4-printer-applet/Makefile
Max Brazhnikov c4efb99db9 Update KDE ports to 4.2.3
See original release announcement for details:
http://kde.org/announcements/announce-4.2.3.php

New ports:

  devel/kdebindings4:
	Meta port of KDE bindings for C#, Java, PHP, Python and Ruby.
	Currently only Python bindings are supported.

  devel/kdebindings4-python, devel/kdebindings4-python-krosspython,
  devel/kdebindings4-python-pykde4:
	Python bindings for KDE.

  print/kdeutils4-printer-applet:
	printer-applet is a system tray utility. It shows current print jobs,
	shows printer warnings and errors and shows when printers that have
	been plugged in for the first time are being auto-configured by
	hal-cups-utils. It replaces kjobviewer in KDE 3.

  print/system-config-printer-kde
	A port of Gnome system-config-printer to KDE.
2009-05-09 19:38:16 +00:00

45 lines
1.3 KiB
Makefile

# New ports collection makefile for: kdeutils4-printer-applet
# Date created: 2009-05-04
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= printer-applet
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= print kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
PKGNAMEPREFIX= kdeutils-
DISTNAME= kdeutils-${PORTVERSION}
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
USE_BZIP2= yes
USE_CMAKE= yes
USE_KDE4= kdeprefix pimlibs automoc4
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build uic_build rcc_build
USE_PYTHON= 2.5+
MD5_FILE= ${PORTSDIR}/misc/kdeutils4/distinfo
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 \
printer-applet.py \
cmake-modules/FindSystemConfigPrinter.py
.include <bsd.port.mk>