head	1.33;
access;
symbols
	RELEASE_8_3_0:1.28
	RELEASE_9_0_0:1.28
	RELEASE_7_4_0:1.26
	RELEASE_8_2_0:1.26
	RELEASE_6_EOL:1.26
	RELEASE_8_1_0:1.26
	RELEASE_7_3_0:1.26
	RELEASE_8_0_0:1.25
	RELEASE_7_2_0:1.24
	RELEASE_7_1_0:1.23
	RELEASE_6_4_0:1.23
	RELEASE_5_EOL:1.23
	RELEASE_7_0_0:1.23
	RELEASE_6_3_0:1.23
	PRE_XORG_7:1.23
	RELEASE_4_EOL:1.23
	RELEASE_6_2_0:1.23
	RELEASE_6_1_0:1.23
	RELEASE_5_5_0:1.23
	RELEASE_6_0_0:1.22
	RELEASE_5_4_0:1.20
	RELEASE_4_11_0:1.20
	RELEASE_5_3_0:1.20
	RELEASE_4_10_0:1.20
	RELEASE_5_2_1:1.19
	RELEASE_5_2_0:1.19
	RELEASE_4_9_0:1.19
	RELEASE_5_1_0:1.14
	RELEASE_4_8_0:1.14
	RELEASE_5_0_0:1.13
	RELEASE_4_7_0:1.12
	RELEASE_4_6_2:1.12
	RELEASE_4_6_1:1.12
	RELEASE_4_6_0:1.12
	RELEASE_5_0_DP1:1.12
	RELEASE_4_5_0:1.12
	RELEASE_4_4_0:1.12
	RELEASE_4_3_0:1.10
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.7
	RELEASE_4_1_0:1.7
	RELEASE_3_5_0:1.7
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.4
	RELEASE_3_3_0:1.4
	python_doc_html_1_5_2:1.1.1.1
	TG:1.1.1;
locks; strict;
comment	@# @;


1.33
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.32;

1.32
date	2012.07.16.17.04.29;	author rm;	state Exp;
branches;
next	1.31;

1.31
date	2012.04.17.08.25.02;	author rm;	state Exp;
branches;
next	1.30;

1.30
date	2012.04.17.07.53.40;	author rm;	state Exp;
branches;
next	1.29;

1.29
date	2012.04.17.07.22.48;	author rm;	state Exp;
branches;
next	1.28;

1.28
date	2011.10.10.13.59.57;	author sunpoet;	state Exp;
branches;
next	1.27;

1.27
date	2011.09.04.16.32.01;	author sunpoet;	state Exp;
branches;
next	1.26;

1.26
date	2009.11.26.22.21.20;	author miwi;	state Exp;
branches;
next	1.25;

1.25
date	2009.06.08.22.30.49;	author miwi;	state Exp;
branches;
next	1.24;

1.24
date	2008.10.13.08.23.00;	author perky;	state Exp;
branches;
next	1.23;

1.23
date	2006.01.22.05.52.23;	author edwin;	state Exp;
branches;
next	1.22;

1.22
date	2005.04.11.14.10.32;	author perky;	state Exp;
branches;
next	1.21;

1.21
date	2005.04.10.22.28.02;	author kris;	state Exp;
branches;
next	1.20;

1.20
date	2004.01.22.11.06.00;	author trevor;	state Exp;
branches;
next	1.19;

1.19
date	2003.07.31.19.42.22;	author perky;	state Exp;
branches;
next	1.18;

1.18
date	2003.06.09.05.42.03;	author perky;	state Exp;
branches;
next	1.17;

1.17
date	2003.06.08.21.13.47;	author will;	state Exp;
branches;
next	1.16;

1.16
date	2003.06.08.21.06.20;	author will;	state Exp;
branches;
next	1.15;

1.15
date	2003.06.04.08.38.41;	author perky;	state Exp;
branches;
next	1.14;

1.14
date	2003.03.07.06.05.35;	author ade;	state Exp;
branches;
next	1.13;

1.13
date	2002.11.15.17.12.55;	author alane;	state Exp;
branches;
next	1.12;

1.12
date	2001.05.16.11.41.37;	author tg;	state Exp;
branches;
next	1.11;

1.11
date	2001.05.02.12.01.35;	author tg;	state Exp;
branches;
next	1.10;

1.10
date	2001.03.15.12.29.01;	author tg;	state Exp;
branches;
next	1.9;

1.9
date	2000.10.20.08.36.33;	author tg;	state Exp;
branches;
next	1.8;

1.8
date	2000.10.08.02.51.49;	author asami;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.12.06.20.10;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.06.11.52.49;	author tg;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.06.11.51.23;	author tg;	state Exp;
branches;
next	1.4;

1.4
date	99.08.31.06.46.55;	author mharo;	state Exp;
branches;
next	1.3;

1.3
date	99.08.25.06.35.17;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	99.08.04.08.20.29;	author tg;	state Exp;
branches;
next	1.1;

1.1
date	99.06.02.10.13.22;	author tg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.06.02.10.13.22;	author tg;	state Exp;
branches;
next	;


desc
@@


1.33
log
@Switch exporter over
@
text
@# New ports collection makefile for:    python-doc
# Date created:         12 May 1999
# Whom:                 Thomas Gellekum <tg@@FreeBSD.org>
#
# $FreeBSD: head/lang/python-doc-html/Makefile 300956 2012-07-16 17:04:29Z rm $
#

PORTNAME=	python-doc-${DOCFORMAT}
PORTVERSION=	${PYTHON_PORTVERSION}
CATEGORIES=	lang python
MASTER_SITES=	${MASTER_SITE_PYTHON}
MASTER_SITE_SUBDIR=	ftp/python/doc/${PORTVERSION} \
			ftp/python/doc/current
DISTNAME=	python-${PORTVERSION}-docs-${DOCFORMAT}
DIST_SUBDIR=	python

MAINTAINER=	python@@FreeBSD.org
COMMENT=	Documentation for the Python programming language

PORTSCOUT=	ignore:1

NO_BUILD=	yes
USE_BZIP2=	yes
USE_PYTHON_BUILD=	yes

DOCSDIR=	${PREFIX}/share/doc/${PYTHON_VERSION}
PLIST=		${WRKDIR}/pkg-plist.${DOCFORMAT}

DOCFORMAT?=	html

.include <bsd.port.pre.mk>

.  if ${DOCFORMAT} == "html" || ${DOCFORMAT} == "text"
WRKSRC=		${WRKDIR}/${DISTNAME}
.  else
WRKSRC=		${WRKDIR}/docs-pdf
.  endif
.  if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf-a4" && ${DOCFORMAT} != "pdf-letter" && ${DOCFORMAT} != "text"
IGNORE=		invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: text, html, pdf-a4, pdf-letter
.  endif

pre-install:
	@@cd ${WRKSRC} && \
		(${FIND} . -type f | ${SED} -e 's|^\./|%%DOCSDIR%%/|' | ${SORT}; \
		${FIND} * -type d | ${SED} -e 's|^|@@dirrm %%DOCSDIR%%/|' | ${SORT} -r; \
		${ECHO_CMD} "@@dirrmtry %%DOCSDIR%%") > ${PLIST}

do-install:
	${MKDIR} ${DOCSDIR}/
	cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${DOCSDIR}

.include <bsd.port.post.mk>
@


1.32
log
@SVN rev 300956 on 2012-07-16 17:04:29Z by rm

- remove expired ports
  * lang/python24 and lang/python25: unmaintained upstream
  * www/zope and www/zope211: unmaintained upstream (the only
    consumers of python24)
- clean-up python versions < 2.6 from lang/python-doc-html
- clean-up python24/25 from Mk/bsd.ports.mk
- add www/zope213 glue to bsd.python.mk
- clean-up zope versions != 2.13 from bsd.python.mk

Submitted by:	miwi (based on)
Approved by:	portmgr (miwi)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.31
log
@Fix portlint warning (IGNORE message should start from lower-case letter)
@
text
@a32 1
.if ${PYTHON_REL} >= 260
a40 3
.else
IGNORE=		there is no documentation for this Python version, because it deprecated upstream
.endif
@


1.30
log
@Cleanup python < 2.6 logic, because there is no documentation for this
versions anymore. Add corresponding message for users of this versions.

Approved by:	silence on python@@
@
text
@d43 1
a43 1
IGNORE=		There is no documentation for this Python version, because it deprecated upstream
@


1.29
log
@Cleanup special check for python 2.6.0

Approved by:	silence on python@@
@
text
@d43 1
a43 5
DISTNAME=	${DOCFORMAT}-${PORTVERSION}
WRKSRC=		${WRKDIR}/Python-Docs-${PORTVERSION}
.  if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf-a4" && ${DOCFORMAT} != "pdf-letter" && ${DOCFORMAT} != "postscript-a4" && ${DOCFORMAT} != "postscript-letter"
IGNORE=		invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: html, pdf-a4, pdf-letter, postscript-a4, postscript-letter
.  endif
@


1.28
log
@- Fix logical errors in DOCFORMAT and PYTHON_REL detections
- Store doc files in DISTDIR/python/
- Cleanup Makefile
- Fix distinfo: the old one is incomplete, the new one contains all doc formats of all releases
@
text
@a34 3
.    if ${PYTHON_REL} == 260
WRKSRC=		${WRKDIR}/python-docs-${DOCFORMAT}
.    else
a35 1
.    endif
@


1.27
log
@- Set PORTSCOUT to ignore:1
@
text
@d14 2
a15 1
DISTNAME=	${DOCFORMAT}-${PORTVERSION}
d22 1
a22 2
DIST_SUBDIR=	python
USE_PYTHON=	yes
d24 1
a24 2
NO_BUILD=	yes
PLIST=		${WRKDIR}/pkg-plist_${DOCFORMAT}
d26 2
a27 2
WRKSRC=		${WRKDIR}/Python-Docs-${PORTVERSION}
DOCDIR=		${PREFIX}/share/doc/${PYTHON_VERSION}
d33 13
a45 11
.if ${PYTHON_REL} < 260
.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf-a4" && ${DOCFORMAT} != "pdf-letter" && ${DOCFORMAT} != "postscript-a4" && ${DOCFORMAT} != "postscript-letter"
IGNORE=	invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: html, pdf-a4, pdf-letter, postscript-a4, postscript-letter
.endif
.else # ${PYTHON_REL} >= 260
.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf-a4" && ${DOCFORMAT} != "pdf-letter" && ${DOCFORMAT} != "text"
IGNORE=	invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: text, html, pdf-a4, pdf-letter
.endif

.if ${PYTHON_REL} < 260
DISTNAME=	python-docs-${DOCFORMAT}
d47 5
a51 1
DISTNAME=	python-${PORTVERSION}-docs-${DOCFORMAT}
a52 10
DIST_SUBDIR=	python${PYTHON_REL}

.if ${DOCFORMAT} == "html"
WRKSRC=		${WRKDIR}/${DISTNAME}
.elif ${DOCFORMAT} == "text"
WRKSRC=		${WRKDIR}/${DISTNAME}
.else
WRKSRC=		${WRKDIR}/docs-pdf
.endif # ${DOCSFORMAT} == "html"
.endif # ${PYTHON_REL} < 260
d55 4
a58 7
	@@cd ${WRKSRC} && (${FIND} . -type f | \
		${SED} -e 's,^\.,share/doc/${PYTHON_VERSION},' | ${SORT} \
			> ${PLIST})
	@@cd ${WRKSRC} && (${FIND} * -type d | \
		${SED} -e 's,^,@@dirrm share/doc/${PYTHON_VERSION}/,' | \
			${SORT} -r) >> ${PLIST}
	@@${ECHO_CMD} "@@dirrmtry share/doc/%%PYTHON_VERSION%%" >> ${PLIST}
d61 2
a62 2
	@@${MKDIR} ${DOCDIR}
	@@${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${DOCDIR} -xf -
@


1.26
log
@- Update to 2.6.4

Changelog:
	http://python.org/download/releases/2.6.4/NEWS.txt
@
text
@d19 2
@


1.25
log
@- Update lang/python26 and make Python 2.6.2 to the default Python version

Tested by:	3 pointyhat runs
Thanks to:	pav, gahr, lwhsu, mva, amdmi3
@
text
@d12 2
a13 1
MASTER_SITE_SUBDIR=	ftp/python/doc/${PORTVERSION}
@


1.24
log
@Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)
Python 2.6 will be the next default python version when enough
testings of consumer ports are done.  The new "2to3" program is
renamed to 2to3-2.6 and 2to3-3.0 for each version, respectively.

Repo-copied by:	marcus
@
text
@d33 1
a33 5
.BEGIN:
	@@${ECHO} "ERROR: invalid value for DOCFORMAT: \"${DOCFORMAT}\""
	@@${ECHO} "Possible values are:  html, pdf-a4, pdf-letter,"
	@@${ECHO} "postscript-a4, postscript-letter."
	@@${FALSE}
d36 2
a37 5
.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf-a4" && ${DOCFORMAT} != "pdf-letter"
.BEGIN:
	@@${ECHO} "ERROR: invalid value for DOCFORMAT: \"${DOCFORMAT}\""
	@@${ECHO} "Possible values are:  html, pdf-a4, pdf-letter."
	@@${FALSE}
d40 1
d42 3
d46 1
d49 2
d67 1
a67 1
	@@${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${DOCDIR} -xf - 
@


1.23
log
@eplace ugly "@@unexec rmdir %D... 2>/dev/null || true" with @@dirrmtry

Approved by:    krion@@
PR:             ports/88711 (related)
@
text
@d15 1
a15 1
MAINTAINER=	perky@@FreeBSD.org
a25 1
PLIST_DIFF=	${FILESDIR}/plist-${DOCFORMAT}-${PORTVERSION}.diff
d29 3
d39 7
d47 4
a50 4
.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 220
PLIST_SUB+=	PYTHON22_ONLY="@@comment "
d52 3
a54 8
PLIST_SUB+=	PYTHON22_ONLY=""
.endif

.if ${PYTHON_REL} < 230
do-extract:
	@@${RM} -rf ${WRKDIR}
	@@${MKDIR} ${WRKDIR}
.endif
a56 6
.if ${PYTHON_REL} < 230
	@@${CP} ${PKGDIR}/pkg-plist_${DOCFORMAT} ${WRKDIR}
	@@if [ -f ${PLIST_DIFF} ]; then \
		cd ${WRKDIR} && patch -p --quiet < ${PLIST_DIFF}; \
	fi
.else
a63 1
.endif
a66 3
.if ${PYTHON_REL} < 230
	@@(cd ${DOCDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS})
.else
a67 1
.endif
@


1.22
log
@Add new checksums for 2.4.1 and unbreak port.

Submitted by:	olgeni
@
text
@d65 1
a65 1
	@@${ECHO_CMD} "@@unexec rmdir %D/share/doc/%%PYTHON_VERSION%% 2>/dev/null || true" >> ${PLIST}
@


1.21
log
@BROKEN: Incorrect distinfo
@
text
@a17 2
BROKEN=		Incorrect distinfo

@


1.20
log
@Use the SORT macro from bsd.port.mk.
@
text
@d18 2
@


1.19
log
@Update python documentation ports to Python-2.3's.
@
text
@d60 2
a61 1
		${SED} -e 's,^\.,share/doc/${PYTHON_VERSION},' | sort > ${PLIST})
d64 1
a64 1
			sort -r) >> ${PLIST}
@


1.18
log
@Take maintainerships from alane's python ports.
Rest in Peace, Alan.
@
text
@d11 2
a12 2
MASTER_SITES=	http://www.python.org/ftp/python/doc/${PORTVERSION}/ \
		http://SunSITE.Informatik.RWTH-Aachen.DE/python/ftp/python/doc/${PORTVERSION}/
d24 1
d46 1
d50 1
d53 1
d58 8
a67 1
.if !defined(NOPORTDOCS)
d69 1
d71 2
@


1.17
log
@Please see http://freebsd.kde.org/memoriam/alane.php for an In Memoriam page.
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.16
log
@	REST IN PEACE
 	Alan Eldridge
Born December 15, 1961 in Iowa
Died June 6, 2003 in Denver, Colorado

Thank you for your contributions, you
will be greatly missed.
@
text
@@


1.15
log
@Update to 2.2.3 and correct tg's e-mail address.

Approved by:	maintainer (implicitly)
@
text
@d15 1
a15 1
MAINTAINER=	alane@@FreeBSD.org
@


1.14
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d3 1
a3 1
# Whom:                 Thomas Gellekum <alane@@FreeBSD.org>
d37 8
d61 1
a61 1
.include <bsd.port.mk>
@


1.13
log
@Take over as maintainer since tg is taking a leave of absence from port
maintenance.
@
text
@d16 1
@


1.12
log
@Fix PLIST for Python-2.1 docs.
@
text
@d3 1
a3 1
# Whom:                 Thomas Gellekum <tg@@FreeBSD.org>
d5 1
a5 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.11 2001/05/02 12:01:35 tg Exp $
d15 1
a15 1
MAINTAINER=	tg@@FreeBSD.org
@


1.11
log
@Put docs into versioned directories.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.10 2001/03/15 12:29:01 tg Exp $
d21 1
a21 1
PLIST=		${PKGDIR}/pkg-plist_${DOCFORMAT}
d24 1
d39 6
@


1.10
log
@Use PYTHON_PORTVERSION, so this works for other releases than 2.0.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.9 2000/10/20 08:36:33 tg Exp $
d23 1
a23 1
DOCDIR=		${PREFIX}/share/doc/python
@


1.9
log
@Upgrade docs for Python 2.0.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.8 2000/10/08 02:51:49 asami Exp $
d9 1
a9 1
PORTVERSION=	2.0
d18 1
@


1.8
log
@Rename PLIST_* to pkg-plist_*.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.7 2000/04/12 06:20:10 obrien Exp $
d9 1
a9 1
PORTVERSION=	1.5.2p2
d11 2
a12 2
MASTER_SITES=	http://www.python.org/ftp/python/doc/ \
		http://SunSITE.Informatik.RWTH-Aachen.DE/python/ftp/python/doc/1.5.2p2/
a13 1
EXTRACT_SUFX=	.tgz
d18 1
@


1.7
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.6 2000/04/06 11:52:49 tg Exp $
d20 1
a20 1
PLIST=		${PKGDIR}/PLIST_${DOCFORMAT}
@


1.6
log
@Oops, I forgot:

Submitted by:	Eoin Lawless <eoin@@maths.tcd.ie>
@
text
@a1 1
# Version required:     1.5.2p2
d5 1
a5 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.5 2000/04/06 11:51:23 tg Exp $
d8 2
a9 2
DISTNAME=	${DOCFORMAT}-${VERSION}
PKGNAME=        python-doc-${DOCFORMAT}-${VERSION}
d13 1
a21 1
VERSION=	1.5.2p2
@


1.5
log
@Upgrade to 1.5.2p2.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.4 1999/08/31 06:46:55 mharo Exp $
@


1.4
log
@FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
@
text
@d2 1
a2 1
# Version required:     1.5.2
d6 1
a6 1
# $FreeBSD: ports/lang/python-doc-html/Makefile,v 1.3 1999/08/25 06:35:17 obrien Exp $
d12 2
a13 2
MASTER_SITES=	ftp://www.python.org/pub/python/doc/1.5.2/ \
		ftp://ftp.cwi.nl/pub/python/doc/1.5.2/
d22 1
a22 1
VERSION=	1.5.2
@


1.3
log
@Change Id->FreeBSD.
@
text
@d4 1
a4 1
# Whom:                 Thomas Gellekum <tg@@FreeBSD.ORG>
d6 1
a6 1
# $FreeBSD$
d16 1
a16 1
MAINTAINER=	tg@@FreeBSD.ORG
@


1.2
log
@Add version number to package name.

PR:		12954
Submitted by:	Neil Blakey-Milner <nbm@@rucus.ru.ac.za>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1999/06/02 10:13:22 tg Exp $
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d10 1
a10 1
PKGNAME=        python-doc-${DOCFORMAT}
@


1.1.1.1
log
@New port python-doc-html. As the name suggests: documentation for
the Python language in HTML format.

This port includes the necessary files for other formats, like PDF and PS,
in a fashion similar to gimp-manual-html.
@
text
@@
