Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 12:10:37 +0200 (CEST)
From:      Paul Herman <pherman@frenchfries.net>
To:        freebsd-ports@freebsd.org
Subject:   make readmes fails to include descriptions
Message-ID:  <Pine.BSF.4.21.0010141204110.336-100000@bagabeedaboo.security.at12.de>

next in thread | raw e-mail | index | archive | help
Hi,

A quick check of the -ports mail archive didn't turn up anything, and
I think it would just be less hassle for you guys to just mention it
here, rather than submitting a PR.  (?)

"make readmes" doesn't work properly since the format switch.  
Included is a quick patch against a cvsup from earlier today.

-Paul.

Index: Mk/bsd.port.subdir.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.subdir.mk,v
retrieving revision 1.38
diff -u -2 -r1.38 bsd.port.subdir.mk
--- Mk/bsd.port.subdir.mk	2000/08/08 14:56:46	1.38
+++ Mk/bsd.port.subdir.mk	2000/10/14 09:54:24
@@ -211,6 +211,6 @@
 	@echo -n '<a href="'${entry}/README.html'">'"`cd ${entry}; make package-name | ${HTMLIFY}`</a>: " >> $@.tmp
 .endif
-.if exists(${entry}/pkg/COMMENT)
-	@${HTMLIFY} ${entry}/pkg/COMMENT >> $@.tmp
+.if exists(${entry}/pkg-comment)
+	@${HTMLIFY} ${entry}/pkg-comment >> $@.tmp
 .else
 	@echo "(no description)" >> $@.tmp
@@ -218,6 +218,6 @@
 .endfor
 	@sort -t '>' +1 -2 $@.tmp > $@.tmp2
-.if exists(${.CURDIR}/pkg/DESCR)
-	@${HTMLIFY} ${.CURDIR}/pkg/DESCR > $@.tmp3
+.if exists(${.CURDIR}/pkg-descr)
+	@${HTMLIFY} ${.CURDIR}/pkg-descr > $@.tmp3
 .else
 	@> $@.tmp3



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010141204110.336-100000>