summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-07-01 01:35:10 +0000
committerreed <reed@pkgsrc.org>2005-07-01 01:35:10 +0000
commit7962aa7c12c28c9c08c7d7d4c22795c31cb1941d (patch)
tree708d6550dc29aa32b3aafdf217393575d5beeef2 /x11
parent1339dd10c3d914e01d5223d30109c77f1b0db5f9 (diff)
downloadpkgsrc-7962aa7c12c28c9c08c7d7d4c22795c31cb1941d.tar.gz
Forgot this in previous commit.
Split out shared parts of PyQt packages to Makefile.common. I did this so I could get Darwin support which requires a Mac-specific source. Also capitalize Qt3 in COMMENT. I tested a few packages using PyQt running on Mac OS X over remote X11 and it still worked (even though no X11 support, but I guess the Qt3's X11 works for this).
Diffstat (limited to 'x11')
-rw-r--r--x11/py-qt3-base/Makefile35
-rw-r--r--x11/py-qt3-base/distinfo5
2 files changed, 16 insertions, 24 deletions
diff --git a/x11/py-qt3-base/Makefile b/x11/py-qt3-base/Makefile
index a7f540d28c4..f81346a8264 100644
--- a/x11/py-qt3-base/Makefile
+++ b/x11/py-qt3-base/Makefile
@@ -1,38 +1,27 @@
-# $NetBSD: Makefile,v 1.16 2005/06/01 18:03:30 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2005/07/01 01:35:10 reed Exp $
#
-DISTNAME= PyQt-x11-gpl-3.14.1
-PKGNAME= ${PYPKGPREFIX}-qt3-base-3.14.1
-CATEGORIES= x11 python
-MASTER_SITES= http://www.river-bank.demon.co.uk/download/PyQt/
+.include "../../x11/py-qt3-base/Makefile.common"
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.riverbankcomputing.co.uk/pyqt/
-COMMENT= Python binding for qt3
+PKGNAME= ${PYPKGPREFIX}-qt3-base-${PYQT_VERSION}
-USE_LIBTOOL= yes
-USE_TOOLS+= gmake
-USE_LANGUAGES= c c++
-BUILDLINK_DEPENDS.qt3-tools= qt3-tools>=3.1.2nb2
+COMMENT= Python binding for Qt3
-CONFIGURE_ARGS= -b ${PREFIX}/bin
-CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}
-CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX}
+BUILDLINK_DEPENDS.qt3-tools= qt3-tools>=3.1.2nb2
-PYTHON_VERSIONS_ACCEPTED= 24 23 22 21
-PY_PATCHPLIST= yes
-PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+PLIST_SRC= ${PKGDIR}/PLIST.common
+.if ${OPSYS} == "Darwin"
+PLIST_SRC+= ${PKGDIR}/PLIST.Darwin
+.else
+PLIST_SRC+= ${PKGDIR}/PLIST.X11
+.endif
+PLIST_SRC+= ${PKGDIR}/PLIST.common_end
SUBST_CLASSES+= pyversfx
SUBST_STAGE.pyversfx= pre-configure
SUBST_FILES.pyversfx= pyuic3/pyuic.sbf pylupdate3/pylupdate.sbf
SUBST_SED.pyversfx= -e "s|@PYVERSSUFFIX@|${PYVERSSUFFIX}|g"
-do-configure:
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
- ${PYTHONBIN} configure.py ${CONFIGURE_ARGS})
-
-.include "../../lang/python/extension.mk"
.include "../../x11/py-qt3-sip/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
diff --git a/x11/py-qt3-base/distinfo b/x11/py-qt3-base/distinfo
index 0b442298a12..06bb0df5222 100644
--- a/x11/py-qt3-base/distinfo
+++ b/x11/py-qt3-base/distinfo
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.7 2005/05/02 15:36:53 drochner Exp $
+$NetBSD: distinfo,v 1.8 2005/07/01 01:35:10 reed Exp $
SHA1 (PyQt-x11-gpl-3.14.1.tar.gz) = b29c1d319c132ba09648f70e01f7af1fa92c18b0
RMD160 (PyQt-x11-gpl-3.14.1.tar.gz) = d8caef8513bc715f2f0e6107daa5d6d2ba883ddb
Size (PyQt-x11-gpl-3.14.1.tar.gz) = 782274 bytes
+SHA1 (PyQt-mac-gpl-3.14.1.tar.gz) = 391edbd2a06d5a50802a44a81c95ab0aa067d928
+RMD160 (PyQt-mac-gpl-3.14.1.tar.gz) = 79e62b2775e229c325eff0c3d6f837e00f431dde
+Size (PyQt-mac-gpl-3.14.1.tar.gz) = 776559 bytes
SHA1 (patch-aa) = f77e1969b0403e96c9445018ed71f431f32dcfb2
SHA1 (patch-ab) = 46cf5b2eb3481a9f5a1264f11abc57421c4d47a0
SHA1 (patch-ac) = c3cd88ef6119f224920c0b8e6852b35052e6751a