diff options
author | wiz <wiz@pkgsrc.org> | 2006-02-16 18:13:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-02-16 18:13:48 +0000 |
commit | 78b70bbbe00fc4471f29e2e692e4f790ba739591 (patch) | |
tree | 5951b737670cfd408d3f2a2da87faf72c78cda7b /databases | |
parent | 035e1d64bf659da4bffea188ed577224d7c07984 (diff) | |
download | pkgsrc-78b70bbbe00fc4471f29e2e692e4f790ba739591.tar.gz |
Add current distfile location to MASTER_SITES.
Install .pyc file too. Bump PKGREVISION.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-metakit/Makefile | 17 | ||||
-rw-r--r-- | databases/py-metakit/PLIST | 3 |
2 files changed, 15 insertions, 5 deletions
diff --git a/databases/py-metakit/Makefile b/databases/py-metakit/Makefile index afb13a4e072..c8907b94771 100644 --- a/databases/py-metakit/Makefile +++ b/databases/py-metakit/Makefile @@ -1,11 +1,12 @@ -# $NetBSD: Makefile,v 1.15 2006/02/05 23:08:36 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2006/02/16 18:13:48 wiz Exp $ # DISTNAME= metakit-2.4.9.3 -PKGNAME= ${PYPKGPREFIX}-metakit-2.4.9.3 -PKGREVISION= 2 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 3 CATEGORIES= databases python -MASTER_SITES= http://www.equi4.com/pub/mk/ +MASTER_SITES= http://www.equi4.com/pub/mk/ \ + http://www.equi4.com/pub/mk/older/ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.equi4.com/metakit/ @@ -24,6 +25,14 @@ INSTALL_TARGET= install-python MAKE_ENV+= PYINC=${LOCALBASE}/${PYINC} PYSITELIB=${LOCALBASE}/${PYSITELIB} PY_PATCHPLIST= yes +PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py + +post-build: + cd ${WRKSRC}/../python && ${PYTHONBIN} ${PYCOMPILEALL} . + +post-install: + ${INSTALL_DATA} ${WRKSRC}/../python/metakit.pyc ${PREFIX}/${PYSITELIB} + .include "../../databases/metakit-lib/buildlink3.mk" .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/py-metakit/PLIST b/databases/py-metakit/PLIST index f2b57780e43..1ef1837aece 100644 --- a/databases/py-metakit/PLIST +++ b/databases/py-metakit/PLIST @@ -1,3 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/04 18:48:09 drochner Exp $ +@comment $NetBSD: PLIST,v 1.2 2006/02/16 18:13:48 wiz Exp $ ${PYSITELIB}/Mk4py.so ${PYSITELIB}/metakit.py +${PYSITELIB}/metakit.pyc |