summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-06-17 12:38:05 +0000
committerobache <obache@pkgsrc.org>2011-06-17 12:38:05 +0000
commit78494850cf42a7ce492f05d74d39da935cb66c9c (patch)
tree6861f202d2eb6c9ca2e5da84fea32c8d33665b99
parentcaa567d3fd9c3b82e7ce4bd7ccae8c7b8ca4fabe (diff)
downloadpkgsrc-78494850cf42a7ce492f05d74d39da935cb66c9c.tar.gz
Import py27-html-docs-2.7.2 as lang/py27-html-docs.
PR#44984. HTML Documentation for Python 2.7
-rw-r--r--lang/py27-html-docs/DESCR1
-rw-r--r--lang/py27-html-docs/Makefile33
-rw-r--r--lang/py27-html-docs/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/lang/py27-html-docs/DESCR b/lang/py27-html-docs/DESCR
new file mode 100644
index 00000000000..1dbc80fd807
--- /dev/null
+++ b/lang/py27-html-docs/DESCR
@@ -0,0 +1 @@
+HTML Documentation for Python 2.7
diff --git a/lang/py27-html-docs/Makefile b/lang/py27-html-docs/Makefile
new file mode 100644
index 00000000000..ae5e2733a61
--- /dev/null
+++ b/lang/py27-html-docs/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/06/17 12:38:05 obache Exp $
+#
+
+VERS= 2.7.2
+DISTNAME= python-${VERS}-docs-html
+PKGNAME= py27-html-docs-${VERS}
+CATEGORIES= lang python
+MASTER_SITES= http://docs.python.org/ftp/python/doc/${VERS}/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.python.org/doc/
+COMMENT= HTML Documentation for Python
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DIST_SUBDIR= python
+
+USE_TOOLS+= pax
+
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+HTMLDIR= share/doc/html/python2.7
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+
+INSTALLATION_DIRS= ${HTMLDIR}
+
+do-install:
+ cd ${WRKSRC} && pax -rw -pe [a-z]* ${DESTDIR}${PREFIX}/${HTMLDIR}
+ cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py27-html-docs/distinfo b/lang/py27-html-docs/distinfo
new file mode 100644
index 00000000000..55445815daa
--- /dev/null
+++ b/lang/py27-html-docs/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/06/17 12:38:05 obache Exp $
+
+SHA1 (python/python-2.7.2-docs-html.tar.bz2) = 0886850a5bcf3e14e903cd33d51d1a8b664cfe36
+RMD160 (python/python-2.7.2-docs-html.tar.bz2) = d898264a2f0da8be8722396d25149c987e3614f8
+Size (python/python-2.7.2-docs-html.tar.bz2) = 4249897 bytes