From e914ab3288c32de6c4b5d382398e7394d75afe6d Mon Sep 17 00:00:00 2001 From: recht Date: Sun, 14 Sep 2003 16:43:45 +0000 Subject: hange extension.mk to also install optimized files for distutils packages. Inspired by FreeBSD "ports". Fix the PLISTs accordingly. Also, while at it, remove now obsolete compileall.py calls in post-install targets and insure that extension.mk is in included before builinlinks of other Python modules. Discussed with/ok'ed by drochner@. --- net/py-google/Makefile | 4 ++-- net/py-google/PLIST | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'net/py-google') diff --git a/net/py-google/Makefile b/net/py-google/Makefile index b726b21c895..b0a6b489392 100644 --- a/net/py-google/Makefile +++ b/net/py-google/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/08/11 22:08:33 recht Exp $ +# $NetBSD: Makefile,v 1.9 2003/09/14 16:43:53 recht Exp $ # DISTNAME= pygoogle-0.5.2 @@ -19,6 +19,6 @@ USE_BUILDLINK2= yes post-extract: ${RM} ${WRKSRC}/soap.py -.include "../../net/py-soappy/buildlink2.mk" .include "../../lang/python/extension.mk" +.include "../../net/py-soappy/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/py-google/PLIST b/net/py-google/PLIST index 2887e380e2b..5a98b201f1e 100644 --- a/net/py-google/PLIST +++ b/net/py-google/PLIST @@ -1,11 +1,15 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/01 17:23:13 drochner Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/09/14 16:43:53 recht Exp $ ${PYSITELIB}/pygoogle.pth ${PYSITELIB}/pygoogle/google.py ${PYSITELIB}/pygoogle/google.pyc +${PYSITELIB}/pygoogle/google.pyo ${PYSITELIB}/pygoogle/googletest.py ${PYSITELIB}/pygoogle/googletest.pyc +${PYSITELIB}/pygoogle/googletest.pyo ${PYSITELIB}/pygoogle/testclient.py ${PYSITELIB}/pygoogle/testclient.pyc +${PYSITELIB}/pygoogle/testclient.pyo ${PYSITELIB}/pygoogle/testserver.py ${PYSITELIB}/pygoogle/testserver.pyc +${PYSITELIB}/pygoogle/testserver.pyo @dirrm ${PYSITELIB}/pygoogle -- cgit v1.2.3