diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2002-10-07 11:48:26 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2002-10-07 11:48:26 +0000 |
commit | bb97656e9ddbe95b02ff0f56fd20f7fba329e641 (patch) | |
tree | 9c2ec3273aaac678d3f292efdab9695e8a782b60 /x11-toolkits/py-kde | |
parent | Upgrade py-qt to 3.4, and take over maintainership due to bounces from (diff) |
Resurrect py-kde, upgrading to 3.3.2. Take over maintainership, since
previous maintainer address bounces.
Notes
Notes:
svn path=/head/; revision=67548
Diffstat (limited to 'x11-toolkits/py-kde')
-rw-r--r-- | x11-toolkits/py-kde/Makefile | 64 | ||||
-rw-r--r-- | x11-toolkits/py-kde/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/py-kde/files/patch-build.py | 11 | ||||
-rw-r--r-- | x11-toolkits/py-kde/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/py-kde/pkg-descr | 3 | ||||
-rw-r--r-- | x11-toolkits/py-kde/pkg-plist | 84 |
6 files changed, 165 insertions, 0 deletions
diff --git a/x11-toolkits/py-kde/Makefile b/x11-toolkits/py-kde/Makefile new file mode 100644 index 000000000000..d91d8ed74ae5 --- /dev/null +++ b/x11-toolkits/py-kde/Makefile @@ -0,0 +1,64 @@ +# New ports collection makefile for: PyKDE +# Date created: Sun Oct 17 00:24:28 PDT 1999 +# Whom: adsharma@sharmas.dhs.org +# +# $FreeBSD$ +# + +PORTNAME= kde +PORTVERSION= 3.3.2 +CATEGORIES= x11-toolkits kde python +MASTER_SITES= http://www.river-bank.demon.co.uk/download/PyKDE2/ \ + http://www.river-bank.demon.co.uk/download/PyQt/:qt +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= PyKDE-${PORTVERSION}-3 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} PyQt-x11-gpl-${PYQTVERSION}${EXTRACT_SUFX}:qt + +MAINTAINER= nbm@FreeBSD.org + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/qt.py:${PORTSDIR}/x11-toolkits/py-qt + +WRKSRC= ${WRKDIR}/PyKDE-${PORTVERSION} + +USE_PYTHON= yes +USE_KDELIBS_VER=3 +USE_REINPLACE= yes + +PYQTVERSION= 3.4 + +ALL_TARGET= all install + +MODULES= dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kjs kspell kdeprint + +PLIST_SUB+= PKGBASE=${PKGBASE} + +NO_FILTER_SHLIBS= yes + +post-patch: + @${REINPLACE_CMD} -e 's#/usr/bin/python#${PYTHON_CMD}#' ${WRKSRC}/postproc + +do-configure: + @${MKDIR} ${WRKDIR}/modules + @( cd ${WRKSRC} && env KDEDIR=${PREFIX} ${PYTHON_CMD} build.py -c \ + -e ${PREFIX}/include/sip -q ${X11BASE} \ + -v ${WRKDIR}/PyQt-x11-gpl-3.4/sip -d ${WRKDIR}/modules ) + @${REINPLACE_CMD} -e 's#LIBS *= $$(SUBLIBS)#LIBS = $$(SUBLIBS) -L${WRKDIR}/modules -Wl,-rpath,${PYTHONPREFIX_SITELIBDIR}#' ${WRKSRC}/*/Makefile + @${REINPLACE_CMD} -e 's#atoll (s)#strtoll (s, NULL, 10)#' ${WRKSRC}/kio/kiohuge.cpp + +pre-build: +.for module in ${MODULES} + ( cd ${WRKSRC}/${module} && ${MAKE} ${ALL_TARGET} ) +.endfor + +pre-install: + @(${ECHO} "#!${PYTHON_CMD}"; ${CAT} ${WRKSRC}/kdepyuic.py) > ${WRKSRC}/kdepyuic + +do-install: + @( cd ${WRKDIR}/modules/ && ${TAR} -cf - . ) | \ + ( cd ${PYTHONPREFIX_SITELIBDIR} && ${TAR} xf - ) + @${MKDIR} ${PREFIX}/share/examples/${PKGBASE} + @( cd ${WRKSRC}/examples && ${TAR} -cf - . ) | \ + ( cd ${PREFIX}/share/examples/${PKGBASE} && ${TAR} -xf - ) + @${INSTALL_SCRIPT} ${WRKSRC}/kdepyuic ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/x11-toolkits/py-kde/distinfo b/x11-toolkits/py-kde/distinfo new file mode 100644 index 000000000000..b55f6f3a889e --- /dev/null +++ b/x11-toolkits/py-kde/distinfo @@ -0,0 +1,2 @@ +MD5 (PyKDE-3.3.2-3.tar.gz) = 1df179c05b7d296e88e8f04d9a384522 +MD5 (PyQt-x11-gpl-3.4.tar.gz) = 1a61c55ad716f20f52883740c578c352 diff --git a/x11-toolkits/py-kde/files/patch-build.py b/x11-toolkits/py-kde/files/patch-build.py new file mode 100644 index 000000000000..7fc169cb89a7 --- /dev/null +++ b/x11-toolkits/py-kde/files/patch-build.py @@ -0,0 +1,11 @@ +--- build.py.orig Tue Sep 17 15:40:30 2002 ++++ build.py Tue Sep 17 15:40:48 2002 +@@ -805,7 +805,7 @@ + proPatches["DEFINES"] = [re.compile("@BL_DEFINES@",re.M), defines] + + checkQtLibrary() +- checkThreading () ++ #checkThreading () + checkKDELibrary() + checkPyQt () + diff --git a/x11-toolkits/py-kde/pkg-comment b/x11-toolkits/py-kde/pkg-comment new file mode 100644 index 000000000000..b7dced59276b --- /dev/null +++ b/x11-toolkits/py-kde/pkg-comment @@ -0,0 +1 @@ +Python Bindings for KDE diff --git a/x11-toolkits/py-kde/pkg-descr b/x11-toolkits/py-kde/pkg-descr new file mode 100644 index 000000000000..10851d25bfc3 --- /dev/null +++ b/x11-toolkits/py-kde/pkg-descr @@ -0,0 +1,3 @@ +Python Bindings for KDE. + +WWW: http://www.thekompany.com/projects/pykde/ diff --git a/x11-toolkits/py-kde/pkg-plist b/x11-toolkits/py-kde/pkg-plist new file mode 100644 index 000000000000..4a8c9d836b30 --- /dev/null +++ b/x11-toolkits/py-kde/pkg-plist @@ -0,0 +1,84 @@ +bin/kdepyuic +lib/%%PYTHON_VERSION%%/site-packages/dcop.py +lib/%%PYTHON_VERSION%%/site-packages/dcop.pyc +lib/%%PYTHON_VERSION%%/site-packages/kdecore.py +lib/%%PYTHON_VERSION%%/site-packages/kdecore.pyc +lib/%%PYTHON_VERSION%%/site-packages/kdefx.py +lib/%%PYTHON_VERSION%%/site-packages/kdefx.pyc +lib/%%PYTHON_VERSION%%/site-packages/kdeprint.py +lib/%%PYTHON_VERSION%%/site-packages/kdeprint.pyc +lib/%%PYTHON_VERSION%%/site-packages/kdesu.py +lib/%%PYTHON_VERSION%%/site-packages/kdesu.pyc +lib/%%PYTHON_VERSION%%/site-packages/kdeui.py +lib/%%PYTHON_VERSION%%/site-packages/kdeui.pyc +lib/%%PYTHON_VERSION%%/site-packages/kfile.py +lib/%%PYTHON_VERSION%%/site-packages/kfile.pyc +lib/%%PYTHON_VERSION%%/site-packages/khtml.py +lib/%%PYTHON_VERSION%%/site-packages/khtml.pyc +lib/%%PYTHON_VERSION%%/site-packages/kio.py +lib/%%PYTHON_VERSION%%/site-packages/kio.pyc +lib/%%PYTHON_VERSION%%/site-packages/kjs.py +lib/%%PYTHON_VERSION%%/site-packages/kjs.pyc +lib/%%PYTHON_VERSION%%/site-packages/kparts.py +lib/%%PYTHON_VERSION%%/site-packages/kparts.pyc +lib/%%PYTHON_VERSION%%/site-packages/kspell.py +lib/%%PYTHON_VERSION%%/site-packages/kspell.pyc +lib/%%PYTHON_VERSION%%/site-packages/libdcopcmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libdcopcmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libdcopcmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libdcopcmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkdecorecmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdecorecmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdecorecmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkdecorecmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkdefxcmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdefxcmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdefxcmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkdefxcmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkdeprintcmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdeprintcmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdeprintcmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkdeprintcmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkdesucmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdesucmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdesucmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkdesucmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkdeuicmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdeuicmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkdeuicmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkdeuicmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkfilecmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkfilecmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkfilecmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkfilecmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkhtmlcmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkhtmlcmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkhtmlcmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkhtmlcmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkiocmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkiocmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkiocmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkiocmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkjscmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkjscmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkjscmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkjscmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkpartscmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkpartscmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkpartscmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkpartscmodule.so +lib/%%PYTHON_VERSION%%/site-packages/libkspellcmodule.so.1.0.0 +lib/%%PYTHON_VERSION%%/site-packages/libkspellcmodule.so.1.0 +lib/%%PYTHON_VERSION%%/site-packages/libkspellcmodule.so.1 +lib/%%PYTHON_VERSION%%/site-packages/libkspellcmodule.so +share/examples/%%PKGBASE%%/Makefile.am +share/examples/%%PKGBASE%%/README +share/examples/%%PKGBASE%%/aboutkde.png +share/examples/%%PKGBASE%%/first.py +share/examples/%%PKGBASE%%/first.ui +share/examples/%%PKGBASE%%/pyKHTMLPart.py +share/examples/%%PKGBASE%%/pyParts.py +share/examples/%%PKGBASE%%/pyParts.rc +share/examples/%%PKGBASE%%/pykdehome.jpg +share/examples/%%PKGBASE%%/pykless.py +share/examples/%%PKGBASE%%/pyklistview.py |