A lot of KDE Ports share MASTERSITES, LICENSE and so one, as they are released as a bundle upstream, however, there was not really a clean way to share this information. Using these new categories, we can simplify the Makefiles for the diverse KDE ports. At the moment we support the virtual category * kde-kde4 In the future, this will be extended to * kde-frameworks * kde-plasma * kde-applications PR: 213406 Differential Revision: https://reviews.freebsd.org/D7645 Exp-run by : antoine Reviewed by: mat, rakuco Approved by: portmgr (mat), rakuco (mentor)
25 lines
669 B
Makefile
25 lines
669 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pykdeuic4
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
CATEGORIES= devel kde kde-kde4 python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pykde4-${PORTVERSION}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Enhanced version of pyuic4
|
|
|
|
USES= cmake:outsource python:2 kde:4 tar:xz
|
|
USE_KDE= kdelibs automoc4 pykde4
|
|
USE_QT4= moc_build qmake_build rcc_build uic_build
|
|
DISTINFO_FILE= ${.CURDIR:H:H}/devel/py-pykde4/distinfo
|
|
|
|
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>
|