From db2ac9b865f803fa09199c0267d51e6397dd54f5 Mon Sep 17 00:00:00 2001 From: Hideyuki KURASHINA Date: Mon, 1 Nov 2004 06:36:22 +0000 Subject: [PATCH] Merge the following from the English version: 1.34 -> 1.37 ports/Makefile While I'm here, comment out a process that generates ports/growth/status.png from www/ja/ tree because we can share English version of the image file. Submitted by: iida Reference: [doc-jp 14136] --- ja/ports/Makefile | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/ja/ports/Makefile b/ja/ports/Makefile index 643d747021..af9277706b 100644 --- a/ja/ports/Makefile +++ b/ja/ports/Makefile @@ -1,6 +1,6 @@ -# $FreeBSD: www/ja/ports/Makefile,v 1.24 2001/09/06 13:35:08 kuriyama Exp $ +# $FreeBSD: www/ja/ports/Makefile,v 1.25 2001/11/19 15:35:42 hrs Exp $ # The FreeBSD Japanese Documentation Project -# Original revision: 1.34 +# Original revision: 1.37 .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -26,7 +26,10 @@ CVS_OPT+= -R CVS_OPT+= -d ${PORTSCVSROOT} .endif -.if defined(NOPORTSCVS) +.if defined(PINDEX_OVERRIDE) +${INDEX}: ${PINDEX_OVERRIDE} + ${CP} ${PINDEX_OVERRIDE} ${INDEX} +.elif defined(NOPORTSCVS) ${INDEX}: $${PORTSBASE}/${PINDEX} ${CP} ${PORTSBASE}/${PINDEX} ${INDEX} .else @@ -51,7 +54,7 @@ hostname= ${NO_PACKAGES_LINK} .endif packages.exists: -.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org" +.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org" || ${hostname} == "www.freebsd.org" .if exists(${.CURDIR}/../../en/ports/packages.exists) cp ${.CURDIR}/../../en/ports/${.TARGET} . .else @@ -72,11 +75,20 @@ index.sgml: ${INDEX} categories packages.exists portindex ports.inc .NOTMAIN ${RM} -f *.sgml ${PORTINDEX} ${INDEX} ${.CURDIR} -install: all +install: all beforeinstall all install clean: cd ${.CURDIR}; \ ${MAKE} ${MAKEFLAGS} -f ${.CURDIR}/Makefile.inc0 ${.TARGET} - +.if defined(WITH_PORTS_GROWTH) +# Because We refer www/ports/growth/status.png on web site from ports.inc, +# don't need to have local version of the image file. +# cd growth; \ +# ${MAKE} ${MAKEFLAGS} ${.TARGET} +beforeinstall: +.else +beforeinstall: + ${PERL} -pi -e 's/href=\"growth/href=\"http:\/\/www.FreeBSD.org\/ports\/growth/' index.html +.endif .include "${WEB_PREFIX}/share/mk/web.site.mk"