diff options
Diffstat (limited to 'devel/kdebindings4-python-pykdeuic4')
4 files changed, 25 insertions, 25 deletions
diff --git a/devel/kdebindings4-python-pykdeuic4/Makefile b/devel/kdebindings4-python-pykdeuic4/Makefile index 081a00015053..8d50749bb7df 100644 --- a/devel/kdebindings4-python-pykdeuic4/Makefile +++ b/devel/kdebindings4-python-pykdeuic4/Makefile @@ -5,30 +5,31 @@ # $FreeBSD$ # -PORTNAME= kdebindings +PORTNAME= pykdeuic4 PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde python -PKGNAMESUFFIX= -pykdeuic4 +MASTER_SITES= ${MASTER_SITE_KDE} +MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}kdebindings- +DISTNAME= pykde4-${PORTVERSION} +DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= An enhanced version of pyuic4 -BINDLANG= python -BINDMODULE= pykde4 - +USE_KDE4= kdehier kdelibs kdeprefix automoc4 pykde4 USE_PYTHON= 2.5+ -.include "${.CURDIR}/../../devel/kdebindings4/files/Makefile.kdebindings" -#override USE_KDE4 from Makefile.kdebindings: -USE_KDE4= kdelibs automoc4 pykde4 +USE_QT_VER= 4 +QT_COMPONENTS= corelib qmake_build moc_build uic_build rcc_build +USE_BZIP2= yes +DISTINFO_FILE= ${PORTSDIR}/devel/kdebindings4-python-pykde4/distinfo +USE_CMAKE= yes +MAKE_JOBS_SAFE= yes -CMAKE_SOURCE_PATH= ${BUILD_WRKSRC} -CONFIGURE_WRKSRC= ${BUILD_WRKSRC} -BUILD_WRKSRC= ${WRKSRC}/python/pykde4/tools -INSTALL_WRKSRC= ${BUILD_WRKSRC} +WRKSRC= ${WRKDIR}/${DISTNAME}/tools/${PORTNAME} pre-configure: - ${REINPLACE_CMD} -e 's,$${SIP_DEFAULT_SIP_DIR},${PREFIX}/${SIPDIR_REL},g' \ - -e 's,$${PYTHON_SITE_PACKAGES_DIR},${PYTHONPREFIX_SITELIBDIR},g' \ - ${BUILD_WRKSRC}/pykdeuic4/CMakeLists.txt + ${REINPLACE_CMD} -e 's,$${PYTHON_SITE_PACKAGES_INSTALL_DIR},${PYTHONPREFIX_SITELIBDIR},g' \ + ${WRKSRC}/CMakeLists.txt .include <bsd.port.mk> diff --git a/devel/kdebindings4-python-pykdeuic4/distinfo b/devel/kdebindings4-python-pykdeuic4/distinfo deleted file mode 100644 index a151a6d05c49..000000000000 --- a/devel/kdebindings4-python-pykdeuic4/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (KDE/kdebindings-4.6.5.tar.bz2) = b87cf7ccd30a75121b032311c5f625d0a4d44c8c7b1f08c45b9292451da8ff91 -SIZE (KDE/kdebindings-4.6.5.tar.bz2) = 7078088 diff --git a/devel/kdebindings4-python-pykdeuic4/files/patch-CMakeLists.txt b/devel/kdebindings4-python-pykdeuic4/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..cf5a57d40046 --- /dev/null +++ b/devel/kdebindings4-python-pykdeuic4/files/patch-CMakeLists.txt @@ -0,0 +1,9 @@ +--- ./CMakeLists.txt.orig 2011-05-20 22:33:41.000000000 +0200 ++++ ./CMakeLists.txt 2011-09-01 17:21:32.451109357 +0200 +@@ -1,3 +1,6 @@ ++find_package(KDE4 REQUIRED) ++FIND_PACKAGE(PythonLibrary REQUIRED) ++INCLUDE(PythonMacros) + + PYTHON_INSTALL(kde4.py ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyQt4/uic/widget-plugins/) + PYTHON_INSTALL(pykdeuic4.py ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyQt4/uic/) diff --git a/devel/kdebindings4-python-pykdeuic4/files/patch-python__pykde4__tools__CMakeLists.txt b/devel/kdebindings4-python-pykdeuic4/files/patch-python__pykde4__tools__CMakeLists.txt deleted file mode 100644 index 5681089a797a..000000000000 --- a/devel/kdebindings4-python-pykdeuic4/files/patch-python__pykde4__tools__CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ ---- ./python/pykde4/tools/CMakeLists.txt.orig 2009-12-31 16:34:47.000000000 +0300 -+++ ./python/pykde4/tools/CMakeLists.txt 2010-05-30 17:50:19.644735673 +0400 -@@ -1 +1,5 @@ -+find_package(KDE4 REQUIRED) -+FIND_PACKAGE(PythonLibrary REQUIRED) -+INCLUDE(PythonMacros) -+ - ADD_SUBDIRECTORY(pykdeuic4) |