freebsd-ports/print/system-config-printer-kde/Makefile
Alberto Villa a2d3b5a4bc The KDE/FreeBSD team is pleased to announce KDE Software Compilation
4.7.2. The official release notes can be found at:
http://kde.org/announcements/announce-4.7.2.php
This release ships with many improvements. Read more about them here:
http://FreeBSD.kde.org/news.php#itemKDESC472availableinports

We'd like to say thanks to all testers and contributors, especially to
lwhsu@ for his effort on hosting our test packages.

PR:		156293 [1]
		159219 [2]
		160164 [3]
Submitted by:	Oleg Sidorkin <osidorkin@gmail.com> [1]
		Alvaro Castillo <gobledb@gmail.com> [2]
		dkeav04@gmail.com [3]
Tested by:	exp-run via pav
2011-10-17 00:03:42 +00:00

40 lines
1.2 KiB
Makefile

# New ports collection makefile for: system-config-printer-kde
# Date created: 2009-05-04
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= system-config-printer-kde
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= print kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DISTNAME= kdeadmin-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE4 frontend for system-config-printer
RUN_DEPENDS= system-config-printer:${PORTSDIR}/print/system-config-printer \
${PYTHON_SITELIBDIR}/cups.so:${PORTSDIR}/print/py-cups
USE_KDE4= kdehier kdelibs kdeprefix pykde4 pykdeuic4 automoc4
USE_PYTHON= 2.5+
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build uic_build rcc_build
DISTINFO_FILE= ${PORTSDIR}/sysutils/kdeadmin4/distinfo
USE_BZIP2= yes
USE_CMAKE= yes
CMAKE_ARGS+= -DINSTALL_SYSTEM_CONFIG_PRINTER:BOOL=ON \
-DBUILD_kuser:BOOL=OFF # Avoid checking for kdepimlibs.
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
post-patch:
cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
system-config-printer-kde.py \
cmake-modules/FindSystemConfigPrinter.py
.include <bsd.port.mk>