aboutsummaryrefslogtreecommitdiffstats
path: root/x11/plasma-scriptengine-python/Makefile
blob: 379adb22b7b6e9662d72d19444437f603c41fe76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    plasma-scriptengine-python
# Date created:     2010-03-14
# Whom:         Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   plasma-scriptengine-python
PORTVERSION=    ${KDE4_VERSION}
CATEGORIES= x11 kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DISTNAME=   kdebase-workspace-${PORTVERSION}
DIST_SUBDIR=    KDE

MAINTAINER= kde@FreeBSD.org
COMMENT=    Plasma scriptengine for Python

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_KDE4=   kdeprefix kdelibs automoc4 pykde4
USE_QT_VER= 4
QT_COMPONENTS=  qmake_build moc_build uic_build rcc_build
USE_PYTHON= 2.5+
DISTINFO_FILE=  ${PORTSDIR}/x11/kdebase4-workspace/distinfo

CMAKE_SOURCE_PATH=  ${WRKSRC}/plasma/generic/scriptengines/python
CMAKE_OUTSOURCE=    yes

pre-configure:
    ${REINPLACE_CMD} -e 's,$${PYTHON_SITE_PACKAGES_DIR},${PYTHONPREFIX_SITELIBDIR},g' \
        ${CMAKE_SOURCE_PATH}/CMakeLists.txt

.include <bsd.port.mk>