From owner-freebsd-ports Mon Aug 4 10:38:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA14777 for ports-outgoing; Mon, 4 Aug 1997 10:38:58 -0700 (PDT) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA14762 for ; Mon, 4 Aug 1997 10:38:52 -0700 (PDT) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.8.5/8.8.5) with SMTP id MAA29905 for ; Mon, 4 Aug 1997 12:38:22 -0500 (EST) Date: Mon, 4 Aug 1997 12:38:21 -0500 (EST) From: John Fieber Reply-To: John Fieber To: ports@freebsd.org Subject: Versionless ports Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I was just putting together ports for the handbook and FAQ which raised two issues: 1. The documents don't have distinct versions---grabbing the source from ftp.freebsd.org grabs a current snapshot. What I've done is just use the current date (YYYYMMDD) as the port/package version: PKGNAME!= date -u "+handbook-%Y%m%d" The problem, is that once the source file is cached in the distfiles directory, a "make" won't fetch the latest version. The md5 checksum is currently ignored---updating it every time the handbook changes would be unpleasant. 2. The PLIST for these ports cannot be known in advance, so I build the plist (in ${WRKDIR}) immediately after installing, before registering. Is there any problem with doing this? 3. Where should these "document" ports live? -john