Date: Mon, 28 Oct 1996 10:01:53 -0500 (EST) From: John Fieber <jfieber@indiana.edu> To: Stefan Franziskus <stefran@cs.uni-sb.de> Cc: www@freebsd.org, ports@freebsd.org Subject: Re: www.freebsd.org/ports/index.html Message-ID: <Pine.BSI.3.95.961028092450.6405A-100000@fallout.campusview.indiana.edu> In-Reply-To: <3274B960.5F90@cs.uni-sb.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Oct 1996, Stefan Franziskus wrote: > First of all, I have to say, that I really appreciate the very well > maintained ports collection on the FreeBSD-Page. But I think it would > be nice to have a list of "new ports", just to show what has been > added recently (or during the last 4 weeks) to the Ports Collection. This is something I want very much, in addition to recently changed/updated ports. Unfortunately, the current mechanism for generating the ports pages doesn't easily lend itself to such features. I have a little perl program that reads the ports INDEX file and spits out HTML, but the INDEX file contains no date information. This could be changed. For example, here is a port Makefile: # New ports collection makefile for: rplay - Network audio player # Version required: 3.2.0b3 # Date created: 16 March 1995 # Whom: rmallory@csusb.edu # # $Id: Makefile,v 1.5 1996/10/03 14:13:05 adam Exp $ # DISTNAME= rplay-3.2.0b5 CATEGORIES+= audio MASTER_SITES= ftp://ftp.sdsu.edu/pub/rplay/ HAS_CONFIGURE= yes USE_GMAKE= yes .include <bsd.port.mk> The commented stuff at the top is good to have, although "Version required:" is somewhat redundant, but it isn't easily accessible. The date created and creator should be variables. The date format would then have to be standardized (eg 19950316), and another field indicating the date of last change would have to be added. Unfortunately RCS keywords cannot reliably be used for the update date as updates do not necessairly involve the Makefile. (Is there an RCS keyword for import date?) As far as I can tell, a manual update would be required. A more useful makefile might look something like this: # $Id: Makefile,v 1.5 1996/10/03 14:13:05 adam Exp $ COMMENT= Network audio player CREATOR= rmallory@csusb.edu CREATED= 19950316 UPDATED= 19950316 DISTNAME= rplay-3.2.0b5 CATEGORIES+= audio MASTER_SITES= ftp://ftp.sdsu.edu/pub/rplay/ HAS_CONFIGURE= yes USE_GMAKE= yes .include <bsd.port.mk> Comments from the ports team? -john == jfieber@indiana.edu =========================================== == http://fallout.campusview.indiana.edu/~jfieber ================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.961028092450.6405A-100000>