freebsd-ports/print/kdeutils4-printer-applet/Makefile
Alberto Villa c1f3de0f55 The FreeBSD KDE Team is pleased to announce KDE SC 4.6.1 and KDE PIM
4.4.10. The official 4.6.1 release notes can be found at:
http://www.kde.org/announcements/announce-4.6.1.php

We'd like to say thanks to all helpers and submitters.

Tested by:	exp-run via miwi
2011-03-25 10:33:51 +00:00

41 lines
1.1 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
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 pykde4 pykdeuic4
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build uic_build rcc_build
USE_PYTHON= 2.5+
DISTINFO_FILE= ${PORTSDIR}/misc/kdeutils4/distinfo
CMAKE_ARGS+= -DINSTALL_PRINTER_APPLET:Bool=On
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
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>