HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 2 and Version 3 of BepFile


Ignore:
Timestamp:
08/13/07 08:27:33 (8 years ago)
Author:
brecht
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BepFile

    v2 v3  
    1 A .bep file is a ''recipe'' that BePorter uses to fetch, patch, build and install a software package. It is an ASCII file that contains a list of keys with corresponding (lists of) values. The syntax is as follows. For a key with a '''single value''': 
     1== Introduction == 
     2 
     3A .bep file is a ''recipe'' that BePorter uses to fetch, patch, build and install a software package. It is an ASCII file that contains a list of keys with corresponding (lists of) values. 
     4 
     5== Syntax == 
     6 
     7=== Key types === 
     8 
     9There are three types of keys in a !BepFile: single-value, list-of-values and shell-commands. 
     10 
     11The key label is subject to the following rules: 
     12 * the key label must be in all capitals and consist only of letters (A-Z) and underscores 
     13 * there may be no whitespace in front of the key label 
     14 * there may be whitespace around the '=', but it is not required 
     15 
     16==== A key with a '''single value''' ==== 
    217 
    318{{{ 
    … …  
    621 
    722The syntax is subject to the following rules: 
    8  * the key label must be in all capitals and consist only of letters (A-Z) and underscores 
    9  * there may be no whitespace in front of the key label 
    10  * there may be whitespace around the '=', but it is not required 
    1123 * the value should be enclosed within double quotes 
    1224 * there may be whitespace after the closing quote 
    1325 
    14 For a key with a '''list of values''': 
     26==== A key with a '''list of values''' ==== 
    1527 
    1628{{{ 
    … …  
    2032}}} 
    2133 
    22 The syntax is subject to the rules listed above, plus the following: 
     34The syntax is subject to the rules listed above for a single value key, plus the following: 
    2335 * one value is entered per line, with the first on the line of the key label 
    2436 * every value but the first is indented by whitespace (tabs or spaces) 
    … …  
    2638 * the closing double quote is on the same ling as the last value of the list 
    2739 
    28 The following keys are to be currently supported in BePorter: 
     40 
     41==== A key with a '''list of shell commands''' ==== 
     42 
     43{{{ 
     44KEY = { 
     45       command1 
     46       command2 
     47       command3 
     48      } 
     49}}} 
     50 
     51The syntax is subject to these rules: 
     52 * the line of the key label end with an opening brace '{', with no command following it 
     53 * one command is entered per line 
     54 * every command is indented by whitespace (tabs or spaces) 
     55 * the closing brace '}' is on on a seperate line, preceded by whitespace 
     56 
     57=== List of keys === 
     58 
     59The following keys are currently supported in BePorter: 
    2960 
    3061 {{{DESCRIPTION}}}: 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/