freebsd-ports/devel/py-pykdeuic4/Makefile

32 lines
799 B
Makefile
Raw Normal View History

2010-06-01 23:35:38 +02:00
# $FreeBSD$
PORTNAME= pykdeuic4
2010-06-01 23:35:38 +02:00
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= devel kde python
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pykde4-${PORTVERSION}
DIST_SUBDIR= KDE/${PORTVERSION}
2010-06-01 23:35:38 +02:00
MAINTAINER= kde@FreeBSD.org
COMMENT= Enhanced version of pyuic4
2010-06-01 23:35:38 +02:00
USE_KDE4= kdelibs automoc4 pykde4
2010-06-01 23:35:38 +02:00
USE_PYTHON= 2.5+
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_XZ= yes
DISTINFO_FILE= ${PORTSDIR}/devel/py-pykde4/distinfo
USES= cmake:outsource
2010-06-01 23:35:38 +02:00
WRKSRC= ${WRKDIR}/${DISTNAME}/tools/${PORTNAME}
2010-06-01 23:35:38 +02:00
PLIST_SUB+= PYTHON_VER=${PYTHON_VER}
NO_STAGE= yes
2010-06-01 23:35:38 +02:00
pre-configure:
${REINPLACE_CMD} -e 's,$${PYTHON_SITE_PACKAGES_INSTALL_DIR},${PYTHONPREFIX_SITELIBDIR},g' \
${WRKSRC}/CMakeLists.txt
2010-06-01 23:35:38 +02:00
.include <bsd.port.mk>