File:  [NetBSD Developer Wiki] / wikisrc / templates / port.mdwn
Revision 1.22: download - view: text, annotated - select for diffs
Sat Feb 29 21:04:26 2020 UTC (12 months ago) by maxv
Branches: MAIN
CVS tags: HEAD
nope, let's try this

    1: <TMPL_IF NAME="port">
    2: [[!meta title="NetBSD/<TMPL_VAR port>"]]
    3: 
    4: # <TMPL_IF thumbnail><img src=<TMPL_VAR thumbnail> alt="<TMPL_VAR port> thumbnail image"/></TMPL_IF>
    5: 
    6: ## About NetBSD/<TMPL_VAR port>
    7: <TMPL_VAR about>
    8: 
    9: ## Release Info
   10: <ul>
   11:   <TMPL_IF cur_rel>
   12:     <TMPL_IF port_var1>
   13:         <li>
   14:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var1>/">
   15:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR cur_rel> via download
   16:           </a>
   17:         </li>
   18:       <TMPL_IF port_var2>
   19:         <li>
   20:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var2>/">
   21:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR cur_rel> via download
   22:           </a>
   23:         </li>
   24:       </TMPL_IF>
   25:       <TMPL_IF port_var3>
   26:         <li>
   27:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var3>/">
   28:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR cur_rel> via download
   29:           </a>
   30:         </li>
   31:       </TMPL_IF>
   32:       <TMPL_IF port_var4>
   33:         <li>
   34:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var4>/">
   35:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR cur_rel> via download
   36:           </a>
   37:         </li>
   38:       </TMPL_IF>
   39:       <TMPL_IF port_var5>
   40:         <li>
   41:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var5>/">
   42:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR cur_rel> via download
   43:           </a>
   44:         </li>
   45:       </TMPL_IF>
   46:       <TMPL_IF port_var6>
   47:         <li>
   48:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var6>/">
   49:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR cur_rel> via download
   50:           </a>
   51:         </li>
   52:       </TMPL_IF>
   53:       <TMPL_IF port_var7>
   54:         <li>
   55:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var7>/">
   56:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR cur_rel> via download
   57:           </a>
   58:         </li>
   59:       </TMPL_IF>
   60:     <TMPL_ELSE>
   61:       <li>
   62:         <a title="NetBSD/<TMPL_VAR port> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>/">
   63:           NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> via download
   64:         </a>
   65:       </li>
   66:     </TMPL_IF>
   67:   </TMPL_IF>
   68:   <TMPL_UNLESS no_install_notes>
   69:     <TMPL_IF cur_rel>
   70:       <TMPL_IF port_var1>
   71:         <TMPL_IF port_var_install_notes>
   72:           <li>
   73:             <a title="NetBSD/<TMPL_VAR port> INSTALL notes" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port_var_install_notes>/INSTALL.html">
   74:               NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> INSTALL notes
   75:             </a>
   76:           </li>
   77:         </TMPL_IF>
   78:         <TMPL_ELSE>
   79:           <li>
   80:             <a title="NetBSD/<TMPL_VAR port> INSTALL notes" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>/INSTALL.html">
   81:               NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> INSTALL notes
   82:             </a>
   83:           </li>
   84:         </TMPL_IF>
   85:       </TMPL_IF>
   86:   </TMPL_UNLESS>
   87:   <TMPL_IF pkg_rel>
   88:     <TMPL_IF port_var1>
   89:       <li>
   90:         <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> pkgsrc binary packages" href="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var1>/<TMPL_VAR pkg_rel>/">
   91:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
   92:         </a>
   93:       </li>
   94:     <TMPL_IF port_var2>
   95:       <li>
   96:         <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> pkgsrc binary packages" href="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var2>/<TMPL_VAR pkg_rel>/">
   97:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
   98:         </a>
   99:       </li>
  100:     </TMPL_IF>
  101:     <TMPL_IF port_var3>
  102:       <li>
  103:         <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> pkgsrc binary packages" href="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var3>/<TMPL_VAR pkg_rel>/">
  104:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  105:         </a>
  106:       </li>
  107:     </TMPL_IF>
  108:     <TMPL_IF port_var4>
  109:       <li>
  110:         <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> pkgsrc binary packages" href="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var4>/<TMPL_VAR pkg_rel>/">
  111:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  112:         </a>
  113:       </li>
  114:     </TMPL_IF>
  115:     <TMPL_IF port_var5>
  116:       <li>
  117:         <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> pkgsrc binary packages" href="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var5>/<TMPL_VAR pkg_rel>/">
  118:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  119:         </a>
  120:       </li>
  121:     </TMPL_IF>
  122:     <TMPL_IF port_var6>
  123:       <li>
  124:         <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> pkgsrc binary packages" href="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var6>/<TMPL_VAR pkg_rel>/">
  125:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  126:         </a>
  127:       </li>
  128:     </TMPL_IF>
  129:     <TMPL_IF port_var7>
  130:       <li>
  131:         <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> pkgsrc binary packages" href="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var7>/<TMPL_VAR pkg_rel>/">
  132:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  133:         </a>
  134:       </li>
  135:     </TMPL_IF>
  136:     <TMPL_ELSE>
  137:       <li>
  138:         <a title="NetBSD/<TMPL_VAR port> pkgsrc binary packages" href="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port>/<TMPL_VAR pkg_rel>/">
  139:           NetBSD/<TMPL_VAR port> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  140:         </a>
  141:       </li>
  142:     </TMPL_IF>
  143:   </TMPL_IF>
  144:   <TMPL_IF changes_cur>
  145:     <li>
  146:       <a title="NetBSD/<TMPL_VAR port> <TMPL_VAR changes_cur> changes" href="https://www.NetBSD.org/changes/changes-<TMPL_VAR changes_cur>.html#port-<TMPL_VAR port>">
  147:         NetBSD/<TMPL_VAR port> <TMPL_VAR changes_cur> changes
  148:       </a>
  149:     </li>
  150:   </TMPL_IF>
  151:   <li>
  152:     <a title="NetBSD/<TMPL_VAR port> <TMPL_VAR changes_future> changes" href="https://www.NetBSD.org/changes/changes-<TMPL_VAR changes_future>.html#port-<TMPL_VAR port>">
  153:       NetBSD/<TMPL_VAR port> <TMPL_VAR changes_future> changes
  154:     </a>
  155:   </li>
  156: </ul>
  157: 
  158: ## Mailing List
  159: <TMPL_IF port_alt>
  160: The [NetBSD/<TMPL_VAR port_alt> mailing list](http://www.netbsd.org/mailinglists/#port-<TMPL_VAR port_alt> "<TMPL_VAR port_alt>mailing list"), covering NetBSD's port to <TMPL_VAR port_alt> machine:
  161: [
  162: <a href="http://www.NetBSD.org/cgi-bin/subscribe_list.pl?list=port-<TMPL_VAR port_alt>">subscribe</a>
  163: |
  164: <a href="http://mail-index.NetBSD.org/port-<TMPL_VAR port_alt>/">archive</a>
  165: ]
  166: 
  167: <TMPL_ELSE>
  168: The [NetBSD/<TMPL_VAR port> mailing list](http://www.netbsd.org/mailinglists/#port-<TMPL_VAR port> "<TMPL_VAR port>mailing list"), covering NetBSD's port to <TMPL_VAR port> machine:
  169: [
  170: <a href="http://www.NetBSD.org/cgi-bin/subscribe_list.pl?list=port-<TMPL_VAR port>">subscribe</a>
  171: |
  172: <a href="http://mail-index.NetBSD.org/port-<TMPL_VAR port>/">archive</a>
  173: ]
  174: 
  175: </TMPL_IF>
  176: <TMPL_IF port_maint>
  177: <a href="mailto:port-<TMPL_VAR port_maint>-maintainer@NetBSD.org">Mail the NetBSD/<TMPL_VAR port_maint> port maintainer</a>
  178: <TMPL_ELSE>
  179: <a href="mailto:port-<TMPL_VAR port>-maintainer@NetBSD.org">Mail the NetBSD/<TMPL_VAR port> port maintainer</a>
  180: </TMPL_IF>
  181: 
  182: <TMPL_IF supported_hardware>
  183: ## Supported Hardware
  184: <TMPL_VAR NAME="supported_hardware">
  185: </TMPL_IF>
  186: 
  187: <TMPL_IF unsupported_hardware>
  188: ## Unsupported Hardware
  189: <TMPL_VAR unsupported_hardware>
  190: </TMPL_IF>
  191: 
  192: <TMPL_IF additional>
  193: ## Additional Info
  194: <TMPL_VAR additional>
  195: </TMPL_IF>
  196: 
  197: <TMPL_ELSE>
  198: # Ports page template
  199: 
  200: The *port* template is used to make the ports pages very easy
  201: 
  202: It supports the following parameters:
  203: 
  204: - port (required)
  205: - port_alt (optional)
  206: - port_var[1-7] (optional)
  207: - port_var_install_notes (optional)
  208: - about (required)
  209: - cur_rel (optional)
  210: - future_rel (required)
  211: - pkg_rel (optional)
  212: - changes_cur (optional)
  213: - changes_future (required)
  214: - thumbnail (optional)
  215: - supported_hardware (optional)
  216: - unsupported_hardware (optional)
  217: - no_install_notes (optional)
  218: - additional (optional)
  219: 
  220: </TMPL_IF>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb