Index: en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml @@ -1648,186 +1648,186 @@ MASTER_SITE_* Variables - Shortcut abbreviations are available for popular archives - like SourceForge (SF), GNU - (GNU), or Perl CPAN - (CPAN). MASTER_SITES can - use them directly: - - MASTER_SITES= GNU/make - - The older expanded format still works, but all ports - should be converted to the compact format. The expanded - format looks like this: + Shortcut abbreviations are available for popular + archives like SourceForge (SF), GNU + (GNU), or Perl CPAN + (CPAN). MASTER_SITES + can use them directly: + + MASTER_SITES= GNU/make + + The older expanded format still works, but all ports + should be converted to the compact format. The expanded + format looks like this: - MASTER_SITES= ${MASTER_SITE_GNU} + MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= make - These values and variables are defined in Mk/bsd.sites.mk. - New entries are added often, so make sure to check the latest - version of this file before submitting a port. + These values and variables are defined in Mk/bsd.sites.mk. + New entries are added often, so make sure to check the + latest version of this file before submitting a port. - - For any - MASTER_SITE_FOO - variable, the shorthand - FOO can be - used. For example, use: + + For any + MASTER_SITE_FOO + variable, the shorthand + FOO can be + used. For example, use: - MASTER_SITES= FOO + MASTER_SITES= FOO - If MASTER_SITE_SUBDIR is needed, use - this: + If MASTER_SITE_SUBDIR is needed, + use this: - MASTER_SITES= FOO/bar - + MASTER_SITES= FOO/bar + Magic MASTER_SITES Macros - Several magic macros exist for - popular sites with a predictable directory structure. For - these, just use the abbreviation and the system will try to - guess the correct subdirectory automatically. For a port - named Stardict, of version - 1.2.3, and hosted on SourceForge, adding - this line: + Several magic macros exist for + popular sites with a predictable directory structure. For + these, just use the abbreviation and the system will try to + guess the correct subdirectory automatically. For a port + named Stardict, of version + 1.2.3, and hosted on SourceForge, adding + this line: - MASTER_SITES= SF + MASTER_SITES= SF - Will infer a subdirectory named - /project/stardict/stardict/1.2.3. If the - guess is incorrect, it can be overridden as follows. + Will infer a subdirectory named + /project/stardict/stardict/1.2.3. If the + guess is incorrect, it can be overridden as follows. - MASTER_SITES= SF/stardict/WyabdcRealPeopleTTS/${PORTVERSION} + MASTER_SITES= SF/stardict/WyabdcRealPeopleTTS/${PORTVERSION} - This can also be written as + This can also be written as - MASTER_SITES= SF + MASTER_SITES= SF MASTER_SITE_SUBDIR= stardict/WyabdcRealPeopleTTS/${PORTVERSION} - - Popular Magic <varname>MASTER_SITES</varname> - Macros +
+ Popular Magic <varname>MASTER_SITES</varname> + Macros - - - - Macro - Assumed subdirectory - - + + + + Macro + Assumed subdirectory + + - - - APACHE_JAKARTA - ${PORTNAME:S,-,/,}/source - + + + APACHE_JAKARTA + ${PORTNAME:S,-,/,}/source + - - BERLIOS - ${PORTNAME:tl}.berlios - + + BERLIOS + ${PORTNAME:tl}.berlios + - - CHEESESHOP - source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/} - + + CHEESESHOP + source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/} + - - DEBIAN - pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} - + + DEBIAN + pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} + - - FARSIGHT - ${PORTNAME} - + + FARSIGHT + ${PORTNAME} + - - GCC - releases/${DISTNAME} - + + GCC + releases/${DISTNAME} + - - GH - ${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME}?dummy=/ - + + GH + ${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME}?dummy=/ + - - GHC - ${GH_ACCOUNT}/${GH_PROJECT}/ - + + GHC + ${GH_ACCOUNT}/${GH_PROJECT}/ + - - GHL - ${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ - + + GHL + ${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ + - - GNOME - sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} - + + GNOME + sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} + - - GIMP - ${PORTNAME}/${PORTVERSION:R}/ - + + GIMP + ${PORTNAME}/${PORTVERSION:R}/ + - - GNU - ${PORTNAME} - + + GNU + ${PORTNAME} + - - GNU_ALPHA - ${PORTNAME} - + + GNU_ALPHA + ${PORTNAME} + - - HORDE - ${PORTNAME} - + + HORDE + ${PORTNAME} + - - LODEV - ${PORTNAME} - + + LODEV + ${PORTNAME} + - - MATE - ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} - + + MATE + ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} + - - MOZDEV - ${PORTNAME:tl} - + + MOZDEV + ${PORTNAME:tl} + - - NL - ${PORTNAME} - + + NL + ${PORTNAME} + - - CPAN - ${PORTNAME:C/-.*//} - + + CPAN + ${PORTNAME:C/-.*//} + - - SAVANNAH - ${PORTNAME:tl} - + + SAVANNAH + ${PORTNAME:tl} + - - SF - ${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} - - - -
+ + SF + ${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} + + + +