diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1999-06-02 10:13:25 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1999-06-02 10:13:25 +0000 |
commit | a957317854509deb76c3cf5a24b62caa21e66770 (patch) | |
tree | a0a770719d3cb63687cbbf326e88ef92dd9daf1a /lang/python-doc-html/Makefile | |
parent | 26ffe1a1967943bdcf53b9fbeab0638f030d2394 (diff) | |
download | ports-a957317854509deb76c3cf5a24b62caa21e66770.tar.gz ports-a957317854509deb76c3cf5a24b62caa21e66770.zip |
Notes
Diffstat (limited to 'lang/python-doc-html/Makefile')
-rw-r--r-- | lang/python-doc-html/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/lang/python-doc-html/Makefile b/lang/python-doc-html/Makefile new file mode 100644 index 000000000000..8332cf30fd91 --- /dev/null +++ b/lang/python-doc-html/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: python-doc +# Version required: 1.5.2 +# Date created: 12 May 1999 +# Whom: Thomas Gellekum <tg@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= ${DOCFORMAT}-${VERSION} +PKGNAME= python-doc-${DOCFORMAT} +CATEGORIES= lang python +MASTER_SITES= ftp://www.python.org/pub/python/doc/1.5.2/ \ + ftp://ftp.cwi.nl/pub/python/doc/1.5.2/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tg@FreeBSD.ORG + +DIST_SUBDIR= python +NO_BUILD= yes +PLIST= ${PKGDIR}/PLIST_${DOCFORMAT} + +VERSION= 1.5.2 +DOCDIR= ${PREFIX}/share/doc/python + +DOCFORMAT?= html + +.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf-a4" && ${DOCFORMAT} != "pdf-letter" && ${DOCFORMAT} != "postscript-a4" && ${DOCFORMAT} != "postscript-letter" +.BEGIN: + @${ECHO} "ERROR: invalid value for DOCFORMAT: \"${DOCFORMAT}\"" + @${ECHO} "Possible values are: html, pdf-a4, pdf-letter," + @${ECHO} "postscript-a4, postscript-letter." + @${FALSE} +.endif + +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR} + +do-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCDIR} + @(cd ${DOCDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS}) +.endif + +.include <bsd.port.mk> |