diff options
author | ahze <ahze@FreeBSD.org> | 2005-01-25 15:38:06 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-01-25 15:38:06 +0800 |
commit | cb3fde17e0cc6e79c58a9103804d6d5935e07a10 (patch) | |
tree | 9964e4b13b46885df0fe3c9e2998e6aefc33b788 /x11-toolkits/py-kde | |
parent | e64dabe24905da864d2667317b2381dec6b03559 (diff) | |
download | freebsd-ports-gnome-cb3fde17e0cc6e79c58a9103804d6d5935e07a10.tar.gz freebsd-ports-gnome-cb3fde17e0cc6e79c58a9103804d6d5935e07a10.tar.zst freebsd-ports-gnome-cb3fde17e0cc6e79c58a9103804d6d5935e07a10.zip |
Unbreak with kde 3.3.2
PR: ports/76625
Submitted by: Danny Pansters <danny@ricin.com> (maintainer)
Diffstat (limited to 'x11-toolkits/py-kde')
-rw-r--r-- | x11-toolkits/py-kde/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/x11-toolkits/py-kde/Makefile b/x11-toolkits/py-kde/Makefile index 0053d0449c99..bc250e46e6fc 100644 --- a/x11-toolkits/py-kde/Makefile +++ b/x11-toolkits/py-kde/Makefile @@ -7,19 +7,15 @@ PORTNAME= kde PORTVERSION= 3.11.3 +PORTREVISION= 1 CATEGORIES= x11-toolkits kde python MASTER_SITES= http://www.river-bank.demon.co.uk/download/PyKDE2/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyKDE-${PORTVERSION} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danny@ricin.com COMMENT= Python Bindings for KDE3 -BROKEN= "Does not compile with KDE >= 3.3.1" -EXPIRATION_DATE=2005-02-18 -DEPRECATED= "${BROKEN}" - BUILD_DEPENDS= pyuic:${PORTSDIR}/x11-toolkits/py-qt RUN_DEPENDS= ${BUILD_DEPENDS} @@ -32,10 +28,21 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} NO_FILTER_SHLIBS= yes +MODULES= kdecore kdefx kdeui kio kfile kparts kspell kdeprint kmdi + .include <bsd.port.pre.mk> post-patch: @${REINPLACE_CMD} -e 's#/usr/bin/python#${PYTHON_CMD}#' ${WRKSRC}/postproc + @( cd ${WRKSRC} && \ + ver=`${ECHO} ${KDE_VERSION} | ${SED} -e 's/\.//g'` && \ + if [ "$${ver}" -gt "330" ]; then \ + ( ${MV} extra/kde330 extra/kde$${ver} && \ + for i in ${MODULES}; do \ + ${MV} sip/$${i}/$${i}-kde330.diff \ + sip/$${i}/$${i}-kde$${ver}.diff; \ + done ) \ + fi ) do-configure: @( cd ${WRKSRC} && ${PYTHON_CMD} configure.py -c \ |