diff options
author | reed <reed@pkgsrc.org> | 2005-07-01 01:20:28 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-07-01 01:20:28 +0000 |
commit | cc86acdeca60335942332ad66dbd9ebf18db62b6 (patch) | |
tree | aca014f21ed2b6eac3387dad792833becacf5467 /x11/py-qt3-base/Makefile.common | |
parent | 391d36304123811ba78c1169fd953bc14a48122e (diff) | |
download | pkgsrc-cc86acdeca60335942332ad66dbd9ebf18db62b6.tar.gz |
Lots of little changes to package. Not an upgrade though.
Split this up into a Makefile.common to be used by other packages.
For Darwin, use a different DISTFILE as told by the py-kde list.
Improve DESCR. (The same DESCRiption was used by multiple packages.)
Diffstat (limited to 'x11/py-qt3-base/Makefile.common')
-rw-r--r-- | x11/py-qt3-base/Makefile.common | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11/py-qt3-base/Makefile.common b/x11/py-qt3-base/Makefile.common new file mode 100644 index 00000000000..c79b377c7e4 --- /dev/null +++ b/x11/py-qt3-base/Makefile.common @@ -0,0 +1,39 @@ +# $NetBSD: Makefile.common,v 1.1 2005/07/01 01:20:28 reed Exp $ +# + +# XXX: when updating version, be sure to update distinfo for both +# XXX: PyQt-mac-gpl and PyQt-x11-gpl in py-qt3-qscintilla, +# XXX: py-qt3-base, and py-qt3-modules. + +PYQT_VERSION= 3.14.1 +CATEGORIES= x11 python +MASTER_SITES= http://www.river-bank.demon.co.uk/download/PyQt/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.riverbankcomputing.co.uk/pyqt/ + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +DISTNAME= PyQt-mac-gpl-${PYQT_VERSION} +.else +DISTNAME= PyQt-x11-gpl-${PYQT_VERSION} +.endif + +USE_LIBTOOL= yes +USE_TOOLS+= gmake +USE_LANGUAGES= c c++ + +CONFIGURE_ARGS= -b ${PREFIX}/bin +CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB} +CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX} + +PYTHON_VERSIONS_ACCEPTED= 24 23 22 21 +PY_PATCHPLIST= yes +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} + +do-configure: + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ + ${PYTHONBIN} configure.py ${CONFIGURE_ARGS}) + +.include "../../lang/python/extension.mk" |