aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-kde/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-06-20 22:13:24 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-06-20 22:13:24 +0000
commit4a4d5fd69155bb59e48074f0667867aa97baf830 (patch)
tree4d91b9d4f56594860d2d0b5e2b791c0c8abbfafc /x11-toolkits/py-kde/Makefile
parentf31f4eb2ad439f2a0737f82312adcb5cfff71621 (diff)
downloadports-4a4d5fd69155bb59e48074f0667867aa97baf830.tar.gz
ports-4a4d5fd69155bb59e48074f0667867aa97baf830.zip
Notes
Diffstat (limited to 'x11-toolkits/py-kde/Makefile')
-rw-r--r--x11-toolkits/py-kde/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/x11-toolkits/py-kde/Makefile b/x11-toolkits/py-kde/Makefile
index 4569a21ab5b3..096290d392e4 100644
--- a/x11-toolkits/py-kde/Makefile
+++ b/x11-toolkits/py-kde/Makefile
@@ -6,20 +6,19 @@
#
PORTNAME= kde
-PORTVERSION= 3.11.r1
+PORTVERSION= 3.11.1
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-3.11rc1
+DISTNAME= PyKDE-3.11.1
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} PyQt-x11-gpl-${PYQTVERSION}${EXTRACT_SUFX}:qt
MAINTAINER= ports@FreeBSD.org
COMMENT= Python Bindings for KDE
BUILD_DEPENDS= pyuic:${PORTSDIR}/x11-toolkits/py-qt
-
-BROKEN= Unfetchable
+RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_KDELIBS_VER=3
@@ -27,13 +26,14 @@ USE_REINPLACE= yes
PYQTVERSION= 3.11
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
+PKGMESSAGE= ${WRKDIR}/pkg-message
NO_FILTER_SHLIBS= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on 4.x"
+BROKEN= "Does not run on 4.x"
.endif
post-patch:
@@ -46,7 +46,7 @@ do-configure:
-d ${PYTHONPREFIX_SITELIBDIR} )
pre-install:
- @${REINPLACE_CMD} -e "s,/usr/bin/env python,${PYTHON_CMD}," \
+ @${REINPLACE_CMD} -e "s,${SETENV} python,${PYTHON_CMD}," \
${WRKSRC}/contrib/kdepyuic
post-install:
@@ -57,6 +57,11 @@ post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${EXAMPLESDIR}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${EXAMPLESDIR}
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
+ @${SED} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|" < ${FILESDIR}/pkg-message.in \
+ > ${PKGMESSAGE}
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/contrib/kdepyuic ${PREFIX}/bin