File:  [NetBSD Developer Wiki] / wikisrc / templates / port.mdwn
Revision 1.30: download - view: text, annotated - select for diffs
Thu Sep 10 15:20:05 2020 UTC (2 months, 2 weeks ago) by leot
Branches: MAIN
CVS tags: HEAD
Fix ISO and USB anchors in non-port_var cases.

Noticed by Rocky Hotas, thanks!

    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:         <li>
   19:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> ISO" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>-<TMPL_VAR port_var1>.iso">
   20:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR cur_rel> ISO
   21:           </a>
   22:         </li>
   23:       <TMPL_IF port_var2>
   24:         <li>
   25:           <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>/">
   26:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR cur_rel> via download
   27:           </a>
   28:         </li>
   29:         <li>
   30:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> ISO" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>-<TMPL_VAR port_var2>.iso">
   31:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR cur_rel> ISO
   32:           </a>
   33:         </li>
   34:       </TMPL_IF>
   35:       <TMPL_IF port_var3>
   36:         <li>
   37:           <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>/">
   38:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR cur_rel> via download
   39:           </a>
   40:         </li>
   41:         <li>
   42:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> ISO" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>-<TMPL_VAR port_var3>.iso">
   43:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR cur_rel> ISO
   44:           </a>
   45:         </li>
   46:       </TMPL_IF>
   47:       <TMPL_IF port_var4>
   48:         <li>
   49:           <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>/">
   50:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR cur_rel> via download
   51:           </a>
   52:         </li>
   53:         <li>
   54:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> ISO" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>-<TMPL_VAR port_var4>.iso">
   55:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR cur_rel> ISO
   56:           </a>
   57:         </li>
   58:       </TMPL_IF>
   59:       <TMPL_IF port_var5>
   60:         <li>
   61:           <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>/">
   62:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR cur_rel> via download
   63:           </a>
   64:         </li>
   65:         <li>
   66:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> ISO" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>-<TMPL_VAR port_var5>.iso">
   67:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR cur_rel> ISO
   68:           </a>
   69:         </li>
   70:       </TMPL_IF>
   71:       <TMPL_IF port_var6>
   72:         <li>
   73:           <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>/">
   74:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR cur_rel> via download
   75:           </a>
   76:         </li>
   77:         <li>
   78:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> ISO" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>-<TMPL_VAR port_var6>.iso">
   79:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR cur_rel> ISO
   80:           </a>
   81:         </li>
   82:       </TMPL_IF>
   83:       <TMPL_IF port_var7>
   84:         <li>
   85:           <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>/">
   86:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR cur_rel> via download
   87:           </a>
   88:         </li>
   89:         <li>
   90:           <a title="NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> ISO" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>-<TMPL_VAR port_var7>.iso">
   91:             NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR cur_rel> ISO
   92:           </a>
   93:         </li>
   94:       </TMPL_IF>
   95:     <TMPL_ELSE>
   96:       <li>
   97:         <a title="NetBSD/<TMPL_VAR port> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>/">
   98:           NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> via download
   99:         </a>
  100:       </li>
  101:       <li>
  102:         <a title="NetBSD/<TMPL_VAR port> ISO" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>.iso">
  103:           NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> ISO
  104:         </a>
  105:       </li>
  106:       <TMPL_IF install_image>
  107:         <li>
  108:           <a title="NetBSD/<TMPL_VAR port> USB image" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/images/NetBSD-<TMPL_VAR cur_rel>-<TMPL_VAR port>-<TMPL_VAR install_image>.img.gz">
  109:             NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> USB image
  110:           </a>
  111:         </li>
  112:       </TMPL_IF>
  113:     </TMPL_IF>
  114:   </TMPL_IF>
  115:   <TMPL_UNLESS no_install_notes>
  116:     <TMPL_IF cur_rel>
  117:       <TMPL_IF port_var1>
  118:         <TMPL_IF port_var_install_notes>
  119:           <li>
  120:             <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">
  121:               NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> INSTALL notes
  122:             </a>
  123:           </li>
  124:         </TMPL_IF>
  125:         <TMPL_ELSE>
  126:           <li>
  127:             <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">
  128:               NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> INSTALL notes
  129:             </a>
  130:           </li>
  131:         </TMPL_IF>
  132:       </TMPL_IF>
  133:   </TMPL_UNLESS>
  134:   <TMPL_IF pkg_rel>
  135:     <TMPL_IF port_var1>
  136:       <li>
  137:         <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>/">
  138:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  139:         </a>
  140:       </li>
  141:     <TMPL_IF port_var2>
  142:       <li>
  143:         <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>/">
  144:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  145:         </a>
  146:       </li>
  147:     </TMPL_IF>
  148:     <TMPL_IF port_var3>
  149:       <li>
  150:         <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>/">
  151:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  152:         </a>
  153:       </li>
  154:     </TMPL_IF>
  155:     <TMPL_IF port_var4>
  156:       <li>
  157:         <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>/">
  158:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  159:         </a>
  160:       </li>
  161:     </TMPL_IF>
  162:     <TMPL_IF port_var5>
  163:       <li>
  164:         <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>/">
  165:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  166:         </a>
  167:       </li>
  168:     </TMPL_IF>
  169:     <TMPL_IF port_var6>
  170:       <li>
  171:         <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>/">
  172:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  173:         </a>
  174:       </li>
  175:     </TMPL_IF>
  176:     <TMPL_IF port_var7>
  177:       <li>
  178:         <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>/">
  179:           NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  180:         </a>
  181:       </li>
  182:     </TMPL_IF>
  183:     <TMPL_ELSE>
  184:       <li>
  185:         <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>/">
  186:           NetBSD/<TMPL_VAR port> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
  187:         </a>
  188:       </li>
  189:     </TMPL_IF>
  190:   </TMPL_IF>
  191:   <TMPL_IF changes_cur>
  192:     <li>
  193:       <TMPL_IF changes_port>
  194:         <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 changes_port>">
  195:           NetBSD/<TMPL_VAR changes_port> <TMPL_VAR changes_cur> changes
  196:         </a>
  197:       <TMPL_ELSE>
  198:         <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>">
  199:           NetBSD/<TMPL_VAR port> <TMPL_VAR changes_cur> changes
  200:         </a>
  201:       </TMPL_IF>
  202:     </li>
  203:   </TMPL_IF>
  204:   <li>
  205:     <TMPL_IF changes_port>
  206:       <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 changes_port>">
  207:         NetBSD/<TMPL_VAR changes_port> <TMPL_VAR changes_future> changes
  208:       </a>
  209:     <TMPL_ELSE>
  210:       <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>">
  211:         NetBSD/<TMPL_VAR port> <TMPL_VAR changes_future> changes
  212:       </a>
  213:     </TMPL_IF>
  214:   </li>
  215: </ul>
  216: 
  217: ## Mailing List
  218: <TMPL_IF port_alt>
  219: 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:
  220: [
  221: <a href="http://www.NetBSD.org/cgi-bin/subscribe_list.pl?list=port-<TMPL_VAR port_alt>">subscribe</a>
  222: |
  223: <a href="http://mail-index.NetBSD.org/port-<TMPL_VAR port_alt>/">archive</a>
  224: ]
  225: 
  226: <TMPL_ELSE>
  227: 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:
  228: [
  229: <a href="http://www.NetBSD.org/cgi-bin/subscribe_list.pl?list=port-<TMPL_VAR port>">subscribe</a>
  230: |
  231: <a href="http://mail-index.NetBSD.org/port-<TMPL_VAR port>/">archive</a>
  232: ]
  233: 
  234: </TMPL_IF>
  235: <TMPL_IF port_alt>
  236: <a href="mailto:port-<TMPL_VAR port_alt>-maintainer@NetBSD.org">Mail the NetBSD/<TMPL_VAR port_alt> port maintainer</a>
  237: <TMPL_ELSE>
  238: <a href="mailto:port-<TMPL_VAR port>-maintainer@NetBSD.org">Mail the NetBSD/<TMPL_VAR port> port maintainer</a>
  239: </TMPL_IF>
  240: 
  241: <TMPL_IF supported_hardware>
  242: ## Supported Hardware
  243: <TMPL_VAR NAME="supported_hardware">
  244: </TMPL_IF>
  245: 
  246: <TMPL_IF unsupported_hardware>
  247: ## Unsupported Hardware
  248: <TMPL_VAR unsupported_hardware>
  249: </TMPL_IF>
  250: 
  251: <TMPL_IF additional>
  252: ## Additional Info
  253: <TMPL_VAR additional>
  254: </TMPL_IF>
  255: 
  256: <TMPL_ELSE>
  257: # Ports page template
  258: 
  259: The *port* template is used to make the ports pages very easy
  260: 
  261: It supports the following parameters:
  262: 
  263: - port (required)
  264: - port_alt (optional)
  265: - port_var[1-7] (optional)
  266: - install_image (optional)
  267: - port_var_install_notes (optional)
  268: - about (required)
  269: - cur_rel (optional)
  270: - future_rel (required)
  271: - pkg_rel (optional)
  272: - changes_cur (optional)
  273: - changes_future (required)
  274: - changes_port (optional)
  275: - thumbnail (optional)
  276: - supported_hardware (optional)
  277: - unsupported_hardware (optional)
  278: - no_install_notes (optional)
  279: - additional (optional)
  280: 
  281: </TMPL_IF>

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