aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pykdeuic4/Makefile
blob: cadc24aa30f2524e128fb3fc2bee015f2edf5a5c (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
# $FreeBSD$

PORTNAME=   pykdeuic4
PORTVERSION=    ${KDE4_VERSION}
PORTREVISION=   2
CATEGORIES= devel kde python
MASTER_SITES=   KDE/${KDE4_BRANCH}/${PORTVERSION}/src
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pykde4-${PORTVERSION}
DIST_SUBDIR=    KDE/${PORTVERSION}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Enhanced version of pyuic4

USE_KDE4=   kdelibs automoc4 pykde4
USE_QT4=    moc_build qmake_build rcc_build uic_build
DISTINFO_FILE=  ${PORTSDIR}/devel/py-pykde4/distinfo
USES=       cmake:outsource python:2 tar:xz

WRKSRC=     ${WRKDIR}/${DISTNAME}/tools/${PORTNAME}

PLIST_SUB+= PYTHON_VER=${PYTHON_VER}

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

.include <bsd.port.mk>