From stolz@i2.informatik.rwth-aachen.de Fri Jun 3 07:30:20 2005 Return-Path: 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 Cc: Subject: [patch] Porters' Handbook: Document DISTVERSION X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 81824 >Category: docs >Synopsis: [patch] Porters' Handbook: Document DISTVERSION >Confidential: no >Severity: non-critical >Priority: low >Responsible: jcamou >State: closed >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 03 07:40:01 GMT 2005 >Closed-Date: Sat Jun 25 00:03:02 GMT 2005 >Last-Modified: Sat Jun 25 00:03:02 GMT 2005 >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: Responsible-Changed-From-To: freebsd-doc->jcamou Responsible-Changed-By: jcamou Responsible-Changed-When: Tue Jun 21 09:41:05 GMT 2005 Responsible-Changed-Why: Take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=81824 State-Changed-From-To: open->closed State-Changed-By: jcamou State-Changed-When: Sat Jun 25 00:02:02 GMT 2005 State-Changed-Why: Patch committed with a minor fix. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=81824 >Unformatted: