diff options
author | drochner <drochner@pkgsrc.org> | 2002-04-19 10:49:06 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-04-19 10:49:06 +0000 |
commit | 388d0851894a450bdec6118ff8ded5b5dfd97cf4 (patch) | |
tree | 80a7dd7bbcafba086e4ef81d998ddd02ec8b8a1d /lang/py22-html-docs/Makefile | |
parent | afb8ddb390a2088241f7184d9268bed6e81ebc63 (diff) | |
download | pkgsrc-388d0851894a450bdec6118ff8ded5b5dfd97cf4.tar.gz |
add html docs for Python-2.2
Diffstat (limited to 'lang/py22-html-docs/Makefile')
-rw-r--r-- | lang/py22-html-docs/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lang/py22-html-docs/Makefile b/lang/py22-html-docs/Makefile new file mode 100644 index 00000000000..34ff8c2cc9c --- /dev/null +++ b/lang/py22-html-docs/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/19 10:49:06 drochner Exp $ +# + +DISTNAME= html-2.2.1 +PKGNAME= py22-html-docs-2.2.1 +CATEGORIES= lang +MASTER_SITES= http://www.python.org/ftp/python/doc/2.2.1/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= tsarna@netbsd.org +HOMEPAGE= http://www.python.org/doc/ +COMMENT= HTML Documentation for Python + +DIST_SUBDIR= python + +WRKSRC= ${WRKDIR} + +NO_CONFIGURE= yes +NO_BUILD= yes + +HTMLDIR= share/doc/html/python2.2 +PLIST_SRC= ${WRKDIR}/.PLIST_SRC + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR} + ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} + (cd ${WRKSRC}; ${PAX} -r -w -v -p e [a-z]* ${PREFIX}/${HTMLDIR}) + (cd ${PREFIX}; ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}) + (cd ${PREFIX}; ${FIND} -d ${HTMLDIR} -type d -print | \ + ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}) + +.include "../../mk/bsd.pkg.mk" |