From owner-freebsd-doc@FreeBSD.ORG Fri Jun 3 07:40:02 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C632E16A41C for ; Fri, 3 Jun 2005 07:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7963A43D4C for ; Fri, 3 Jun 2005 07:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j537e2RC086002 for ; Fri, 3 Jun 2005 07:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j537e2HL086001; Fri, 3 Jun 2005 07:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 3 Jun 2005 07:40:02 GMT Resent-Message-Id: <200506030740.j537e2HL086001@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volker Stolz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B56916A41C for ; Fri, 3 Jun 2005 07:30:20 +0000 (GMT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from atlas.informatik.rwth-aachen.de (atlas.informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 735CC43D1F for ; Fri, 3 Jun 2005 07:30:18 +0000 (GMT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from i2.informatik.rwth-aachen.de (menelaos.informatik.RWTH-Aachen.DE [137.226.194.73]) by atlas.informatik.rwth-aachen.de (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j537UHK4010580 for ; Fri, 3 Jun 2005 09:30:17 +0200 Received: (from stolz@localhost) by i2.informatik.rwth-aachen.de (8.13.1/8.13.1/Submit) id j537UHYG072444; Fri, 3 Jun 2005 09:30:17 +0200 (CEST) (envelope-from stolz) Message-Id: <200506030730.j537UHYG072444@i2.informatik.rwth-aachen.de> Date: Fri, 3 Jun 2005 09:30:17 +0200 (CEST) From: Volker Stolz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/81824: [patch] Porters' Handbook: Document DISTVERSION X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2005 07:40:02 -0000 >Number: 81824 >Category: docs >Synopsis: [patch] Porters' Handbook: Document DISTVERSION >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 03 07:40:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.11-STABLE i386 >Organization: Lehrstuhl für Informatik II; RWTH Aachen Universität >Environment: System: FreeBSD menelaos.informatik.rwth-aachen.de 4.11-STABLE FreeBSD 4.11-STABLE #23: Fri Jan 14 09:26:11 CET 2005 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386 >Description: Document DISTVERSION >How-To-Repeat: >Fix: --- distversion.diff begins here --- Index: book.sgml =================================================================== RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v retrieving revision 1.569 diff -u -r1.569 book.sgml --- book.sgml 31 May 2005 20:02:17 -0000 1.569 +++ book.sgml 3 Jun 2005 07:27:01 -0000 @@ -758,7 +758,8 @@ gzip'd tarball named something like foozolix-1.2.tar.gz? If so, you can go on to the next step. If not, you should look at overriding any of - the DISTNAME, EXTRACT_CMD, + the DISTVERSION, DISTNAME, + EXTRACT_CMD, EXTRACT_BEFORE_ARGS, EXTRACT_AFTER_ARGS, EXTRACT_SUFX, or DISTFILES @@ -2096,7 +2097,7 @@ they can be downloaded from. - <makevar>DISTNAME</makevar> + <makevar>DISTVERSION/DISTNAME</makevar> DISTNAME is the name of the port as called by the authors of the software. @@ -2110,6 +2111,43 @@ subdirectory named WRKSRC, which defaults to work/${DISTNAME}. + Some vendor's distribution names which do not fit into the + ${PORTNAME}-${PORTVERSION}-scheme can be handled + automatically by setting DISTVERSION. + PORTVERSION and DISTNAME will be + derived automatically, but can of course be overridden. The following + table lists some examples: + + + + + + DISTVERSION + PORTVERSION + + + + + + 0.7.1d + 0.7.1.d + + + 10Alpha3 + 10.a3 + + + 3Beta7-pre2 + 3.b7.p2 + + + 8:f_17 + 8f.17 + + + + + PKGNAMEPREFIX and PKGNAMESUFFIX do not affect --- distversion.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: