freebsd-ports/print/system-config-printer-kde/Makefile
Martin Wilke 84daec6f09 The KDE FreeBSD team is proud to announce the release of KDE 4.3.0
for FreeBSD. The official KDE 4.3.0 (Codename: "Caizen") release
notes can be found at:
http://kde.org/announcements/4.3/index.php.

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

Tested by:	pointyhat-exp-run (pav/miwi)
2009-08-04 21:14:07 +00:00

43 lines
1.3 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
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}/sysutils/kdeadmin4/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' \
system-config-printer-kde.py \
cmake-modules/FindSystemConfigPrinter.py
.include <bsd.port.mk>