summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/py-HTMLgen/Makefile6
-rw-r--r--www/py-HTMLgen/distinfo4
-rw-r--r--www/py-HTMLgen/patches/patch-ab14
3 files changed, 17 insertions, 7 deletions
diff --git a/www/py-HTMLgen/Makefile b/www/py-HTMLgen/Makefile
index 9c3c8b9509d..1b16044fb63 100644
--- a/www/py-HTMLgen/Makefile
+++ b/www/py-HTMLgen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/03/04 21:31:03 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2009/02/16 19:44:28 joerg Exp $
#
DISTNAME= HTMLgen
@@ -13,9 +13,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://starship.python.net/crew/friedrich/HTMLgen/html/main.html
COMMENT= Class library for the generation of HTML documents
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
MAKE_ENV+= PYTHONBIN=${PYTHONBIN:Q}
PY_PATCHPLIST= yes
+INSTALLATION_DIRS+= ${PYSITELIB}
+
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-HTMLgen/distinfo b/www/py-HTMLgen/distinfo
index fcbde2babd4..d38b950a58f 100644
--- a/www/py-HTMLgen/distinfo
+++ b/www/py-HTMLgen/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:08:38 wiz Exp $
+$NetBSD: distinfo,v 1.3 2009/02/16 19:44:28 joerg Exp $
SHA1 (py-HTMLgen-2.2.2/HTMLgen.tgz) = a34b9c1f9cf5536a548c66522213ac9fee1b43cd
RMD160 (py-HTMLgen-2.2.2/HTMLgen.tgz) = bb32b2822f7ce8e49eb42853aff330429df073de
Size (py-HTMLgen-2.2.2/HTMLgen.tgz) = 316415 bytes
SHA1 (patch-aa) = 506d0aa49b875a02441006bc8a59adde14e2be9c
-SHA1 (patch-ab) = 92fc6aa41c590fafd75ab36b4d55f1fd952100fa
+SHA1 (patch-ab) = 1630abcbe16b6a11fb7e75e9c4de6e09f106251d
diff --git a/www/py-HTMLgen/patches/patch-ab b/www/py-HTMLgen/patches/patch-ab
index f1c45ba5614..298317454b0 100644
--- a/www/py-HTMLgen/patches/patch-ab
+++ b/www/py-HTMLgen/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/02/05 19:44:53 drochner Exp $
+$NetBSD: patch-ab,v 1.2 2009/02/16 19:44:28 joerg Exp $
---- installp.py.orig Tue Feb 5 20:19:55 2002
-+++ installp.py Tue Feb 5 20:20:11 2002
-@@ -15,7 +15,7 @@
+--- installp.py.orig 1999-02-04 05:59:11.000000000 +0100
++++ installp.py
+@@ -14,12 +14,12 @@ def main():
print "Usage: %s [-f] pymodule [npymodule...]" % sys.argv[0]
sys.exit(1)
for opt in opts:
@@ -11,3 +11,9 @@ $NetBSD: patch-ab,v 1.1.1.1 2002/02/05 19:44:53 drochner Exp $
v = sys.version[:3]
+ if string.atof(v) >= 1.5:
+- sp = "%s/lib/python%s/site-packages" % (sys.prefix, v)
++ sp = "%s%s/lib/python%s/site-packages" % (os.environ.get("DESTDIR", ""), sys.prefix, v)
+ if not os.path.exists(sp):
+ os.mkdir(sp)
+ else: