From 148c88e923e828b89e66879a36daad373aa02928 Mon Sep 17 00:00:00 2001 From: smb Date: Tue, 3 Jun 2008 16:23:24 +0000 Subject: Add HTML documentation for Python 2.5 --- lang/py25-html-docs/DESCR | 1 + lang/py25-html-docs/Makefile | 36 ++++++++++++++++++++++++++++++++++++ lang/py25-html-docs/PLIST.pre | 1 + lang/py25-html-docs/distinfo | 5 +++++ 4 files changed, 43 insertions(+) create mode 100644 lang/py25-html-docs/DESCR create mode 100644 lang/py25-html-docs/Makefile create mode 100644 lang/py25-html-docs/PLIST.pre create mode 100644 lang/py25-html-docs/distinfo (limited to 'lang/py25-html-docs') 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 -- cgit v1.2.3