mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
7e6373e612
for FreeBSD. It's a bugfix-only release, January 2011 set.
40 lines
1.1 KiB
Makefile
40 lines
1.1 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_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}/sysutils/kdeadmin4/distinfo
|
|
CMAKE_ARGS+= -DINSTALL_SYSTEM_CONFIG_PRINTER:BOOL=On
|
|
|
|
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>
|