head	1.42;
access;
symbols
	RELEASE_8_3_0:1.41
	RELEASE_9_0_0:1.41
	RELEASE_7_4_0:1.41
	RELEASE_8_2_0:1.41
	RELEASE_6_EOL:1.41
	RELEASE_8_1_0:1.39
	RELEASE_7_3_0:1.37
	RELEASE_8_0_0:1.37
	RELEASE_7_2_0:1.35
	RELEASE_7_1_0:1.35
	RELEASE_6_4_0:1.35
	RELEASE_5_EOL:1.34
	RELEASE_7_0_0:1.33
	RELEASE_6_3_0:1.33
	PRE_XORG_7:1.33
	RELEASE_4_EOL:1.32
	RELEASE_6_2_0:1.32
	RELEASE_6_1_0:1.30
	RELEASE_5_5_0:1.30
	RELEASE_6_0_0:1.27
	RELEASE_5_4_0:1.23
	RELEASE_4_11_0:1.22
	RELEASE_5_3_0:1.20
	RELEASE_4_10_0:1.16
	RELEASE_5_2_1:1.14
	RELEASE_5_2_0:1.14
	RELEASE_4_9_0:1.14
	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.10
	RELEASE_4_4_0:1.5;
locks; strict;
comment	@# @;


1.42
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.41;

1.41
date	2010.10.28.21.00.14;	author erwin;	state Exp;
branches;
next	1.40;

1.40
date	2010.07.14.08.02.05;	author edwin;	state Exp;
branches;
next	1.39;

1.39
date	2010.07.05.22.12.28;	author edwin;	state Exp;
branches;
next	1.38;

1.38
date	2010.07.05.08.06.35;	author edwin;	state Exp;
branches;
next	1.37;

1.37
date	2009.09.01.12.24.33;	author edwin;	state Exp;
branches;
next	1.36;

1.36
date	2009.05.14.11.48.22;	author edwin;	state Exp;
branches;
next	1.35;

1.35
date	2008.08.04.03.57.42;	author edwin;	state Exp;
branches;
next	1.34;

1.34
date	2008.03.18.00.12.29;	author edwin;	state Exp;
branches;
next	1.33;

1.33
date	2007.04.24.05.02.38;	author edwin;	state Exp;
branches;
next	1.32;

1.32
date	2006.10.07.01.20.09;	author edwin;	state Exp;
branches;
next	1.31;

1.31
date	2006.07.05.23.37.16;	author edwin;	state Exp;
branches;
next	1.30;

1.30
date	2006.02.09.04.20.56;	author edwin;	state Exp;
branches;
next	1.29;

1.29
date	2005.11.08.21.42.35;	author edwin;	state Exp;
branches;
next	1.28;

1.28
date	2005.10.20.01.12.51;	author edwin;	state Exp;
branches;
next	1.27;

1.27
date	2005.05.28.00.14.36;	author edwin;	state Exp;
branches;
next	1.26;

1.26
date	2005.05.23.06.47.26;	author edwin;	state Exp;
branches;
next	1.25;

1.25
date	2005.05.23.06.46.05;	author edwin;	state Exp;
branches;
next	1.24;

1.24
date	2005.05.23.06.10.03;	author edwin;	state Exp;
branches;
next	1.23;

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

1.22
date	2004.10.20.22.41.33;	author edwin;	state Exp;
branches;
next	1.21;

1.21
date	2004.10.12.07.24.26;	author edwin;	state Exp;
branches;
next	1.20;

1.20
date	2004.07.03.12.54.52;	author edwin;	state Exp;
branches;
next	1.19;

1.19
date	2004.06.15.13.57.07;	author edwin;	state Exp;
branches;
next	1.18;

1.18
date	2004.06.14.23.27.54;	author edwin;	state Exp;
branches;
next	1.17;

1.17
date	2004.06.14.02.37.23;	author edwin;	state Exp;
branches;
next	1.16;

1.16
date	2004.02.22.01.40.46;	author kris;	state Exp;
branches;
next	1.15;

1.15
date	2004.01.23.05.28.49;	author trevor;	state Exp;
branches;
next	1.14;

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

1.13
date	2002.11.11.20.13.37;	author dirk;	state Exp;
branches;
next	1.12;

1.12
date	2002.01.29.11.24.09;	author knu;	state Exp;
branches;
next	1.11;

1.11
date	2002.01.23.09.19.42;	author dirk;	state Exp;
branches;
next	1.10;

1.10
date	2001.12.21.16.10.24;	author dirk;	state Exp;
branches;
next	1.9;

1.9
date	2001.12.21.15.42.34;	author dirk;	state Exp;
branches;
next	1.8;

1.8
date	2001.11.25.17.20.35;	author dirk;	state Exp;
branches;
next	1.7;

1.7
date	2001.11.25.17.02.57;	author dirk;	state Exp;
branches;
next	1.6;

1.6
date	2001.11.25.16.49.25;	author dirk;	state Exp;
branches;
next	1.5;

1.5
date	2001.08.05.21.06.13;	author dirk;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.23.21.40.55;	author dirk;	state Exp;
branches;
next	1.3;

1.3
date	2001.04.29.13.42.38;	author dirk;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.29.13.31.34;	author dirk;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.24.18.06.38;	author dirk;	state Exp;
branches;
next	;


desc
@@


1.42
log
@Switch exporter over
@
text
@# New ports collection makefile for:	php_doc
# Date created:		Sun Apr 22 14:51:32 CEST 2001
# Whom:			Dirk Froemberg <dirk@@FreeBSD.org>
#
# $FreeBSD: head/lang/php_doc/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	php_doc
PORTVERSION?=	20100701
PORTREVISION?=	2
CATEGORIES?=	lang
MASTER_SITES=	http://www.mavetju.org/download/adopted/
DISTNAME=	php_manual_${PHP_LANG}-${PORTVERSION}

MAINTAINER=	edwin@@mavetju.org
COMMENT?=	PHP documentation in HTML

NO_BUILD=	YES
NO_WRKSUBDIR=	YES
SLAVEDIRS=	french/php_doc \
		german/php_doc \
		japanese/php_doc \
		korean/php_doc \
		polish/php_doc

PHP_LANG?=	en
PHP_LANGS?=	${PHP_WRKDIR} ${PHP_WRKSRC}
PHP_HTML_CHUNKED=	br de en fr ja pl ro tr
PHP_HTML_NORMAL=	bg kr
PHPDOCDIR=	${PREFIX}/share/doc/php-${PHP_LANG}/
PLIST=		${WRKDIR}/pkg-plist

.for lang in ${PHP_HTML_NORMAL}
.if ${PHP_LANG} == ${lang}
WRK_SRC=	${WRKDIR}/html/
.endif
.endfor
.for lang in ${PHP_HTML_CHUNKED}
.if ${PHP_LANG} == ${lang}
WRK_SRC=	${WRKDIR}/php-chunked-xhtml/
.endif
.endfor

PKGNAMESUFFIX=	-${PHP_LANG}

PLIST_SUB=	PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///}

.if ${PHP_LANG} == en
pre-fetch:
	@@${ECHO}
	@@${ECHO} "You may set PHP_LANG to"
	@@${ECHO} "	bg (bulgarian), br (brazillian), de (german),"
	@@${ECHO} "	en (english), fr (french), ja (japanese),"
	@@${ECHO} "	kr (korean), pl (polish), ro (romian),"
	@@${ECHO} "	tr (turkey)"
	@@${ECHO} "to get a different language than the default one (english)."
	@@${ECHO}
.endif

pre-install:
	${FIND} ${WRK_SRC} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e "s,${WRK_SRC},%%PHPDOCDIR%%," > ${PLIST}
	${FIND} ${WRK_SRC} -type d | ${SORT} -r | ${SED} -e "s,${WRK_SRC},@@dirrm %%PHPDOCDIR%%," >> ${PLIST}

do-install:
	@@${MKDIR} ${PHPDOCDIR}
	${FIND} ${WRK_SRC} -type d | ${SED} -e "s,${WRK_SRC},${PHPDOCDIR}/," | ${XARGS} ${MKDIR}
	for f in `${FIND} ${WRK_SRC} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e 's,${WRK_SRC},,'`; do \
		${INSTALL_DATA} ${WRK_SRC}/$$f ${PHPDOCDIR}/$$f; \
	done

# this is for the maintainer only

#
# php_manual_fr.html.gz
#
# Download the files from http://au.php.net/distributions/manual/
#
makesum:
	@@> ${DISTINFO_FILE}
.for l in ${PHP_LANGS}
	@@f=php_manual_${l}-${PORTVERSION}${EXTRACT_SUFX}; \
	${ECHO_CMD} makesum on $${f}; \
	cd ${DISTDIR}; \
	${SHA256} $${f} >> ${DISTINFO_FILE}; \
	${ECHO_CMD} "SIZE ($${f}) = "`${LS} -ALln $${f} | ${AWK} '{print $$5}'` >> ${DISTINFO_FILE}
.endfor

fetchdist:
.for l in ${PHP_LANGS:S/br/pt_BR/}
#	wget -c ftp://ftp.planetmirror.com/pub/php/distributions/manual/php_manual_${l}.tar.gz
	wget -c  ftp://pt.php.net/pub/php/distributions/manual/php_manual_${l}.tar.gz
	if [ "${l}" = "pt_BR" ]; then \
		${MV} php_manual_${l}.tar.gz ${DISTDIR}/php_manual_br-${PORTVERSION}.tar.gz; \
	else \
		${MV} php_manual_${l}.tar.gz ${DISTDIR}/php_manual_${l}-${PORTVERSION}.tar.gz; \
	fi
.endfor

.include <bsd.port.mk>
@


1.41
log
@Deprecate md5 in favour of sha256 checksums.  md5 checksums will no longer
be generated or checked, and will be silently ignored for now.  Also,
generalize the MD5_FILE macro to DISTINFO_FILO.

PR:		149657
Submitted by:	rene
Approved by:	portmgr
Tested on:	pointyhat i386 7-exp
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.40
log
@Fix some strange installation issues which have creeped in during the
latest update.

Noticed by:	pavbot
@
text
@d79 1
a79 1
	@@> ${MD5_FILE}
d84 2
a85 3
	${MD5} $${f} >> ${MD5_FILE}; \
	${SHA256} $${f} >> ${MD5_FILE}; \
	${ECHO_CMD} "SIZE ($${f}) = "`${LS} -ALln $${f} | ${AWK} '{print $$5}'` >> ${MD5_FILE}
@


1.39
log
@Fix build wrt the changed directories in the distribution tarballs.

Noticed by:	Erwin, QAT
Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION?=	1
d30 1
a30 1
PHPDOCDIR=	${PREFIX}/share/doc/php-${PHP_LANG}
d40 1
a40 1
WRK_SRC=	${WRKDIR}/php-chunked-xhtml
d67 1
a67 1
	for f in `${FIND} ${WRK_SRC} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e "s,${WRK_SRC}/,,"`; do \
@


1.38
log
@Update to version 2010-07-05 of the PHP documentation.

Feature safe: yes
@
text
@d10 1
d28 2
a29 2
PHP_WRKDIR=	bg br de en fr kr pl ro tr
PHP_WRKSRC=	ja
d33 1
a33 1
.for lang in ${PHP_WRKSRC}
d35 1
a35 1
WRK_SRC=	${WRKDIR}
d38 1
a38 1
.for lang in ${PHP_WRKDIR}
d40 1
a40 1
WRK_SRC=	${WRKDIR}/html
@


1.37
log
@Update the PHP documentation to 2009-09-01
> - Russian is removed
> - Korean has been re-added
> - Turkish, Bulgarian and Romenian have been added
>
@
text
@d9 1
a9 1
PORTVERSION?=	20090901
@


1.36
log
@Update to todays documentation.
@
text
@d9 1
a9 1
PORTVERSION=	20090514
d15 1
a15 1
COMMENT=	PHP documentation in HTML
d22 2
a23 2
		polish/php_doc \
		russian/php_doc
d26 2
a27 2
PHP_LANGS=	${PHP_WRKDIR} ${PHP_WRKSRC}
PHP_WRKDIR=	br de en fr pl ru
d51 4
a54 7
	@@${ECHO} "	br (brazillian),"
	@@${ECHO} "	de (german),"
	@@${ECHO} "	en (english),"
	@@${ECHO} "	fr (french) or"
	@@${ECHO} "	ja (japanese)"
	@@${ECHO} "	pl (polish)"
	@@${ECHO} "	ru (russian)"
@


1.35
log
@Update to 2008-08-04. Please note that a lot of languages have gone...
@
text
@d9 1
a9 1
PORTVERSION=	20080804
@


1.34
log
@Upgrade to 2007-11-25 version of manual.
@
text
@d9 1
a9 1
PORTVERSION=	20080318
d19 1
a19 5
SLAVEDIRS=	arabic/php_doc \
		chinese/php_doc-hk \
		chinese/php_doc-tw \
		chinese/php_doc-zh \
		french/php_doc \
a20 1
		hungarian/php_doc \
a21 1
		korean/php_doc \
a22 1
		portugese/php_doc \
d27 2
a28 2
PHP_WRKDIR=	ar br de en fr hu pl ru tw zh
PHP_WRKSRC=	hk ja kr
a50 1
	@@${ECHO} "	ar (arabic),"
a54 1
	@@${ECHO} "	hu (hungarian) or"
a55 2
	@@${ECHO} "	hk (Chinese Hong Kong Cantonese)"
	@@${ECHO} "	kr (korean)"
a57 2
	@@${ECHO} "	tw (Chinese traditional)"
	@@${ECHO} "	zh (Chinese Simplified)"
d93 2
a94 1
	wget -c ftp://ftp.planetmirror.com/pub/php/distributions/manual/php_manual_${l}.tar.gz
@


1.33
log
@Half yearly update.
@
text
@d9 1
a9 1
PORTVERSION=	20070424
a113 2


@


1.32
log
@Update to the 2006-10-07 version
@
text
@d9 1
a9 1
PORTVERSION=	20061007
@


1.31
log
@Update PHP Manuals to version 2006-07-06

Also add a "make fetchdist" target for easier regeneration"
@
text
@d9 1
a9 1
PORTVERSION=	20060706
@


1.30
log
@update to latest versions (2006-01-28 according to website)
@
text
@d9 1
a9 1
PORTVERSION=	20060209
d104 11
@


1.29
log
@add makesum target to this port so it can generate the distinfos for all slaveports
@
text
@d9 1
a9 1
PORTVERSION=	20051020
d88 5
@


1.28
log
@Update to 2005-10-20 versions of documentation.
@
text
@d33 3
d39 1
a39 1
.for lang in hk ja kr
d44 1
a44 1
.for lang in ar br de en fr hu pl ru tw zh
d87 10
a96 17
.if defined(MAINTAINER_MODE)
LOCAL_DISTDIR?=	/var/tmp/php_doc/php
LOCAL_TMPDIR?=	/var/tmp/php_doc/tmp
DISTSITE?=	http://de.php.net/distributions/manual/

localfetch:
.for lang in br de en es fr ja
	${MKDIR} ${LOCAL_DISTDIR}
	[ -f ${LOCAL_DISTDIR}/php_manual_${lang}${EXTRACT_SUFX} ] || \
	${FETCH_CMD} -o ${LOCAL_DISTDIR}/php_manual_${lang}${EXTRACT_SUFX} ${DISTSITE}php_manual_${lang}${EXTRACT_SUFX}

	${MKDIR} ${LOCAL_TMPDIR}/${lang}
	cd ${LOCAL_TMPDIR}/${lang} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${LOCAL_DISTDIR}/php_manual_${lang}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}

	(cd ${LOCAL_TMPDIR}/${lang} && ${LS} -1) | ${PERL} -pe 'print "%%PHPDOCDIR%%/$_";' > ${.CURDIR}/pkg-plist.${lang}
	${ECHO_CMD} "@@dirrm %%PHPDOCDIR%%" >> ${.CURDIR}/pkg-plist.${lang}
	${RM} -rf ${LOCAL_TMPDIR}/${lang}
a98 3
	${MV} ${.CURDIR}/pkg-plist.en ${.CURDIR}/pkg-plist
	cd ${LOCAL_DISTDIR} && ${MD5} php_manual_* > ${.CURDIR}/distinfo
.endif
@


1.27
log
@Some archives have a html/ prefix, some don't. Make sure this is
handled correctly.
@
text
@d9 1
a9 2
PORTVERSION=	20050521
PORTREVISION=	1
@


1.26
log
@add Chinese translations to slave dirs
@
text
@d10 1
d37 11
d59 1
d74 2
a75 2
	${FIND} ${WRKDIR} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e "s,${WRKDIR},%%PHPDOCDIR%%," > ${PLIST}
	${FIND} ${WRKDIR} -type d | ${SORT} -r | ${SED} -e "s,${WRKDIR},@@dirrm %%PHPDOCDIR%%," >> ${PLIST}
d79 3
a81 3
	${FIND} ${WRKDIR} -type d | ${SED} -e "s,${WRKDIR},${PHPDOCDIR}/," | ${XARGS} ${MKDIR}
	for f in `${FIND} ${WRKDIR} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e "s,${WRKDIR}/,,"`; do \
		${INSTALL_DATA} ${WRKDIR}/$$f ${PHPDOCDIR}/$$f; \
@


1.25
log
@add Chese translations
@
text
@d19 12
a30 1
SLAVEDIRS=	arabic/php_doc french/php_doc german/php_doc hungarian/php_doc japanese/php_doc korean/php_doc polish/php_doc portugese/php_doc russian/php_doc
@


1.24
log
@Upgrade to the 2005-05-21 snapshots of the PHP manuals
@
text
@a35 1
	@@${ECHO} "	es (spanish),"
d39 1
d43 2
@


1.23
log
@Fix "php_doc-fr-20041012 failed on i3865" pkg-plist problem.
Noticed by: pointyhat

Approved by:	portmgr (marcus@@)
@
text
@d9 1
a9 1
PORTVERSION=	20041012
d19 1
a19 1
SLAVEDIRS=	french/php_doc german/php_doc japanese/php_doc polish/php_doc portugese/php_doc
d33 1
d38 1
d40 1
d42 1
@


1.22
log
@Add portugese/php_doc to SLAVEDIRS

Submitted by:	(indirect) "Jacques A. Vidrine" <nectar@@FreeBSD.org>
@
text
@d44 1
a44 1
	${FIND} ${WRKDIR} -type f ! -name '.*' | ${SED} -e "s,${WRKDIR},%%PHPDOCDIR%%," > ${PLIST}
d50 1
a50 1
	for f in `${FIND} ${WRKDIR} -type f ! -name '.*' | ${SED} -e "s,${WRKDIR}/,,"`; do \
@


1.21
log
@Sync with the latest version of the PHP documents.

Submitted by:	edwin@@mavetju.org
@
text
@d19 1
a19 1
SLAVEDIRS=	french/php_doc german/php_doc japanese/php_doc polish/php_doc
@


1.20
log
@Add support for polish/php_doc on request of
	    Aleksander Fafula <alex@@fafula.com>
@
text
@d9 1
a9 1
PORTVERSION=	20040518
@


1.19
log
@[PATCH] lang/php_doc-en: some fixes
- Remove duplicate entry for php_manual_br-20040518.tar.gz on distinfo
- SIZEify
- Add br on localfetch array

Remove pkg-plists since they are build on the fly

PR:		ports/67975
Submitted by:	Renato Botelho <renato@@galle.com.br>
@
text
@d19 1
a19 1
SLAVEDIRS=	french/php_doc german/php_doc japanese/php_doc
d38 1
@


1.18
log
@Add support for the brazillian version of the manual. No slave port yet.
@
text
@d60 1
a60 1
.for lang in de en es fr ja
@


1.17
log
@- Take maintainership (stale port)
- Update to 2004-05-18 documents.
- Dynamic creating of pkg-plist
@
text
@d33 1
@


1.16
log
@Don my portmgr hat and return dirk@@FreeBSD.org's ports back to the
unmaintained pool.  He has not committed in over a year and has been
unresponsive to emails over a similar time period.
@
text
@d9 1
a9 1
PORTVERSION=	1.20021101
d11 2
a12 3
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	dirk
DISTNAME=	php_manual_${PHP_LANG}
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
a19 1
USE_BZIP2=	YES
d22 2
a23 1
PHPDOCDIR=	${PREFIX}/share/doc/php
d25 1
a25 18
.if ${PHP_LANG} != en
PKGNAMEPREFIX=	${PHP_LANG}-
PLIST=		${PKGDIR}/pkg-plist.${PHP_LANG}
PHPDOCDIR=	${PREFIX}/share/doc/${PHP_LANG}-php

.if ${PHP_LANG} == de
PORTVERSION=	1.20021103
.endif
.if ${PHP_LANG} == es
PORTVERSION=	1.20021104
.endif
.if ${PHP_LANG} == fr
PORTVERSION=	1.20020708
.endif
.if ${PHP_LANG} == ja
PORTVERSION=	1.20021104
.endif
.endif
d41 4
d47 3
a49 2
	@@for i in ${WRKSRC}/*; do \
		${INSTALL_DATA} $$i ${PHPDOCDIR}; \
@


1.15
log
@Use LS macro.
@
text
@d15 1
a15 1
MAINTAINER=	dirk@@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
@d80 1
a80 1
	(cd ${LOCAL_TMPDIR}/${lang} && /bin/ls -1) | ${PERL} -pe 'print "%%PHPDOCDIR%%/$_";' > ${.CURDIR}/pkg-plist.${lang}
@


1.13
log
@Update to the latest versions.
@
text
@d16 1
@


1.12
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
@
text
@d9 1
a9 1
PORTVERSION=	1.20020119
d31 1
a31 1
PORTVERSION=	1.20020119
d34 1
a34 1
PORTVERSION=	1.20020105
d37 1
a37 1
PORTVERSION=	1.20020105
d40 1
a40 1
PORTVERSION=	1.20020104
d68 1
a68 1
DISTSITE?=	http://www.php.net/distributions/manual/
@


1.11
log
@Upgrade to the latest version of the PHP documentation.
@
text
@d80 1
a80 1
	${ECHO} "@@dirrm %%PHPDOCDIR%%" >> ${.CURDIR}/pkg-plist.${lang}
@


1.10
log
@Use correct comparison operator ('=' -> '==').

Reported by:	Dan Langille <dan@@langille.org>
@
text
@d9 1
a9 1
PORTVERSION=	1.20011220
d31 1
a31 1
PORTVERSION=	1.20011221
d34 1
a34 1
PORTVERSION=	1.20011214
d37 1
a37 1
PORTVERSION=	1.20011214
d40 1
a40 1
PORTVERSION=	1.20011220
@


1.9
log
@Upgrade to the latest version of the PHP documentation.
@
text
@d30 1
a30 1
.if ${PHP_LANG} = de
d33 1
a33 1
.if ${PHP_LANG} = es
d36 1
a36 1
.if ${PHP_LANG} = fr
d39 1
a39 1
.if ${PHP_LANG} = ja
@


1.8
log
@Allow slave ports to override PORTVERSION.
@
text
@d9 1
a9 1
PORTVERSION?=	1.20011122
d29 13
@


1.7
log
@Add support for japanese (PHP_LANG=ja).
@
text
@d9 1
a9 1
PORTVERSION=	1.20011122
@


1.6
log
@Upgrade to version from 2001-11-22.
@
text
@d19 1
a19 1
SLAVEDIRS=	french/php_doc german/php_doc
d38 3
a40 2
	@@${ECHO} "	es (spanish) or"
	@@${ECHO} "	fr (french)"
d58 1
a58 1
.for lang in de en es fr
@


1.5
log
@Move distfiles to ${MASTER_SITE_LOCAL} and upgrade to the latest
versions.

Add a special target for maintainer to make it easy to upgrade
to new versions.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php_doc/Makefile,v 1.4 2001/05/23 21:40:55 dirk Exp $
d9 1
a9 1
PORTVERSION=	1.1
d12 2
a13 2
MASTER_SITE_SUBDIR=	dirk/php/${PHP_LANG}
DISTNAME=	manual
a16 1
DIST_SUBDIR=	php/${PHP_LANG}
d20 1
d54 1
a54 1
DISTSITE?=	http://php.he.net/manual/
d58 3
a60 2
	${MKDIR} ${LOCAL_DISTDIR}/${lang}
	${FETCH_CMD} -o ${LOCAL_DISTDIR}/${lang}/manual.tar.gz ${DISTSITE}/${lang}/manual.tar.gz
d63 1
a63 1
	${TAR} -C ${LOCAL_TMPDIR}/${lang} -xzf ${LOCAL_DISTDIR}/${lang}/manual.tar.gz
d71 1
a71 1
	cd ${LOCAL_DISTDIR}/.. && ${MD5} php/*/* > ${.CURDIR}/distinfo
@


1.4
log
@Chase distfiles.

PR:		ports/27561
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php_doc/Makefile,v 1.3 2001/04/29 13:42:38 dirk Exp $
d9 1
a9 2
PORTVERSION=	1.0
PORTREVISION=	1
d11 2
a12 9
MASTER_SITES=	http://www.php.net/${PHP_DISTDIR}/ \
		http://php.he.net/${PHP_DISTDIR}/ \
		http://www.php3.de/${PHP_DISTDIR}/ \
		http://au.php.net:81/${PHP_DISTDIR}/ \
		http://at.php.net/${PHP_DISTDIR}/ \
		http://br.php.net/${PHP_DISTDIR}/ \
		http://php.easydns.com/${PHP_DISTDIR}/ \
		http://www.php.cz/${PHP_DISTDIR}/ \
		http://php3.globe.de/${PHP_DISTDIR}/
a16 1
PHP_DISTDIR=	manual/${PHP_LANG}
d49 23
@


1.3
log
@Add upcoming french/php_doc and german/php_doc to SLAVEDIRS.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php_doc/Makefile,v 1.2 2001/04/29 13:31:34 dirk Exp $
d10 1
@


1.2
log
@Tell users about setting PHP_LANG.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php_doc/Makefile,v 1.1 2001/04/24 18:06:38 dirk Exp $
d10 1
a10 1
CATEGORIES=	lang
d28 1
@


1.1
log
@PHP documentation in HTML.

Done with lots of help from:	roam
@
text
@d5 1
a5 1
# $FreeBSD$
d39 11
@

