summaryrefslogtreecommitdiff
path: root/lang/py25-html-docs
diff options
context:
space:
mode:
authorsmb <smb@pkgsrc.org>2008-06-03 16:23:24 +0000
committersmb <smb@pkgsrc.org>2008-06-03 16:23:24 +0000
commit148c88e923e828b89e66879a36daad373aa02928 (patch)
tree1c0c77d17246d96d5180268845d62d8343de2eba /lang/py25-html-docs
parent2899372009fa334c1f6f607bd6cda1be201921fd (diff)
downloadpkgsrc-148c88e923e828b89e66879a36daad373aa02928.tar.gz
Add HTML documentation for Python 2.5
Diffstat (limited to 'lang/py25-html-docs')
-rw-r--r--lang/py25-html-docs/DESCR1
-rw-r--r--lang/py25-html-docs/Makefile36
-rw-r--r--lang/py25-html-docs/PLIST.pre1
-rw-r--r--lang/py25-html-docs/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/lang/py25-html-docs/DESCR b/lang/py25-html-docs/DESCR
new file mode 100644
index 00000000000..f3fb8be7465
--- /dev/null
+++ b/lang/py25-html-docs/DESCR
@@ -0,0 +1 @@
+HTML Documentation for Python 2.5
diff --git a/lang/py25-html-docs/Makefile b/lang/py25-html-docs/Makefile
new file mode 100644
index 00000000000..d9f179ab38a
--- /dev/null
+++ b/lang/py25-html-docs/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2008/06/03 16:23:24 smb Exp $
+#
+
+DISTNAME= html-2.5.2
+PKGNAME= ${DISTNAME:S/html/py25-html-docs/}
+CATEGORIES= lang python
+MASTER_SITES= http://www.python.org/ftp/python/doc/2.5.2/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= smb@NetBSD.org
+HOMEPAGE= http://www.python.org/doc/
+COMMENT= HTML Documentation for Python
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/Python-Docs-2.5.2/
+DIST_SUBDIR= python
+
+USE_TOOLS+= pax
+
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+HTMLDIR= share/doc/html/python2.5
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+
+INSTALLATION_DIRS= ${HTMLDIR}
+
+do-install:
+ ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
+ cd ${WRKSRC} && pax -rw -pe [a-z]* ${DESTDIR}${PREFIX}/${HTMLDIR}
+ cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
+ cd ${DESTDIR}${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
+ ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py25-html-docs/PLIST.pre b/lang/py25-html-docs/PLIST.pre
new file mode 100644
index 00000000000..3360c9abdbb
--- /dev/null
+++ b/lang/py25-html-docs/PLIST.pre
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST.pre,v 1.1 2008/06/03 16:23:24 smb Exp $
diff --git a/lang/py25-html-docs/distinfo b/lang/py25-html-docs/distinfo
new file mode 100644
index 00000000000..efc3dfa330f
--- /dev/null
+++ b/lang/py25-html-docs/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2008/06/03 16:23:24 smb Exp $
+
+SHA1 (python/html-2.5.2.tar.bz2) = e985285f85386210f1014b7b907f4549b2e91940
+RMD160 (python/html-2.5.2.tar.bz2) = d8ee82d56857c52db0f53ed81e6ad9015ceb28ad
+Size (python/html-2.5.2.tar.bz2) = 1627893 bytes