Date: Tue, 6 Apr 1999 10:10:02 -0700 (PDT) From: Tom Hukins <tom@eborcom.com> To: freebsd-doc@FreeBSD.ORG Subject: Re: docs/10099: Building the Web site without a local CVS repository Message-ID: <199904061710.KAA74145@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/10099; it has been noted by GNATS.
From: Tom Hukins <tom@eborcom.com>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:
Subject: Re: docs/10099: Building the Web site without a local CVS repository
Date: Tue, 6 Apr 1999 17:41:29 +0100
On Sun, Feb 14, 1999 at 06:12:51PM -0000, I wrote:
>
> The build process for the FreeBSD Web site relies on a copy of the
> CVS repository. However, the data extracted will also be present on
> machines which use CVSup to collect the ports tree.
There have been some changes to the Web site recently. I have
updated my patch accordingly.
I have been using this patch successfully for almost 2 months now.
Is there any chance it might being committed soon?
Regards,
Tom
--- en/copyright/Makefile.orig Sat Oct 17 11:18:42 1998
+++ en/copyright/Makefile Sun Feb 14 18:00:47 1999
@@ -16,7 +16,12 @@
# FreeBSD Ports redistribution restrictions
LEGAL= LEGAL
CLEANFILES+= ${LEGAL}
+.if defined(NOCVS)
+${LEGAL}: $${PORTSBASE}/ports/LEGAL
+ cp ${PORTSBASE}/ports/LEGAL LEGAL
+.else
${LEGAL}: $${CVSROOT}/ports/LEGAL,v
co -q -p ${.ALLSRC} > ${.TARGET}
+.endif
.include "../web.mk"
--- en/web.mk.orig Sun Oct 4 14:25:30 1998
+++ en/web.mk Sun Feb 14 17:55:21 1999
@@ -43,6 +43,11 @@
COPY= -C
+#
+# Where the ports live, if CVS isn't used (ie. NOCVS is defined)
+#
+PORTSBASE?= /usr
+
##################################################################
# Transformation rules
--- en/ports/Makefile.orig Sun Mar 14 14:41:31 1999
+++ en/ports/Makefile Tue Apr 6 16:14:36 1999
@@ -24,6 +24,16 @@
cvswww= $${CVSROOT}/${PWWW},v
_ALLINSTALL= packages.exists ${INDEX} ${Y2K} ${WWW}
+.if defined(NOCVS)
+${INDEX}: $${PORTSBASE}/${PINDEX}
+ cp ${PORTSBASE}/${PINDEX} ${INDEX}
+
+${Y2K}: $${PORTSBASE}/${PY2K}
+ cp ${PORTSBASE}/${PY2K} ${Y2K}
+
+${WWW}: $${PORTSBASE}/${PWWW}
+ cp ${PORTSBASE}/${PWWW} ${WWW}
+.else
${INDEX}: ${cvsindex}
cvs -QR co -p ${PINDEX} > ${INDEX}
@@ -32,12 +42,17 @@
${WWW}: ${cvswww}
cvs -QR co -p ${PWWW} > ${WWW}
+.endif
# build the list of available packages only on the
# main FreeBSD machines
hostname!= hostname
+.if defined(NOCVS)
+packages.exists:
+.else
packages.exists: ${cvsindex} ${cvsy2k} ${cvswww}
+.endif
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
sh ${.CURDIR}/packages > ${.TARGET}
.else
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904061710.KAA74145>
