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 (10 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!

<TMPL_IF NAME="port">
[[!meta title="NetBSD/<TMPL_VAR port>"]]

# <TMPL_IF thumbnail><img src=<TMPL_VAR thumbnail> alt="<TMPL_VAR port> thumbnail image"/></TMPL_IF>

## About NetBSD/<TMPL_VAR port>
<TMPL_VAR about>

## Release Info
<ul>
  <TMPL_IF cur_rel>
    <TMPL_IF port_var1>
        <li>
          <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>/">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR cur_rel> via download
          </a>
        </li>
        <li>
          <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">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR cur_rel> ISO
          </a>
        </li>
      <TMPL_IF port_var2>
        <li>
          <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>/">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR cur_rel> via download
          </a>
        </li>
        <li>
          <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">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR cur_rel> ISO
          </a>
        </li>
      </TMPL_IF>
      <TMPL_IF port_var3>
        <li>
          <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>/">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR cur_rel> via download
          </a>
        </li>
        <li>
          <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">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR cur_rel> ISO
          </a>
        </li>
      </TMPL_IF>
      <TMPL_IF port_var4>
        <li>
          <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>/">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR cur_rel> via download
          </a>
        </li>
        <li>
          <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">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR cur_rel> ISO
          </a>
        </li>
      </TMPL_IF>
      <TMPL_IF port_var5>
        <li>
          <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>/">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR cur_rel> via download
          </a>
        </li>
        <li>
          <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">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR cur_rel> ISO
          </a>
        </li>
      </TMPL_IF>
      <TMPL_IF port_var6>
        <li>
          <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>/">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR cur_rel> via download
          </a>
        </li>
        <li>
          <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">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR cur_rel> ISO
          </a>
        </li>
      </TMPL_IF>
      <TMPL_IF port_var7>
        <li>
          <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>/">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR cur_rel> via download
          </a>
        </li>
        <li>
          <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">
            NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR cur_rel> ISO
          </a>
        </li>
      </TMPL_IF>
    <TMPL_ELSE>
      <li>
        <a title="NetBSD/<TMPL_VAR port> download" href="https://cdn.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>/">
          NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> via download
        </a>
      </li>
      <li>
        <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">
          NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> ISO
        </a>
      </li>
      <TMPL_IF install_image>
        <li>
          <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">
            NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> USB image
          </a>
        </li>
      </TMPL_IF>
    </TMPL_IF>
  </TMPL_IF>
  <TMPL_UNLESS no_install_notes>
    <TMPL_IF cur_rel>
      <TMPL_IF port_var1>
        <TMPL_IF port_var_install_notes>
          <li>
            <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">
              NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> INSTALL notes
            </a>
          </li>
        </TMPL_IF>
        <TMPL_ELSE>
          <li>
            <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">
              NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> INSTALL notes
            </a>
          </li>
        </TMPL_IF>
      </TMPL_IF>
  </TMPL_UNLESS>
  <TMPL_IF pkg_rel>
    <TMPL_IF port_var1>
      <li>
        <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>/">
          NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
        </a>
      </li>
    <TMPL_IF port_var2>
      <li>
        <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>/">
          NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
        </a>
      </li>
    </TMPL_IF>
    <TMPL_IF port_var3>
      <li>
        <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>/">
          NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
        </a>
      </li>
    </TMPL_IF>
    <TMPL_IF port_var4>
      <li>
        <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>/">
          NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
        </a>
      </li>
    </TMPL_IF>
    <TMPL_IF port_var5>
      <li>
        <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>/">
          NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
        </a>
      </li>
    </TMPL_IF>
    <TMPL_IF port_var6>
      <li>
        <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>/">
          NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
        </a>
      </li>
    </TMPL_IF>
    <TMPL_IF port_var7>
      <li>
        <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>/">
          NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
        </a>
      </li>
    </TMPL_IF>
    <TMPL_ELSE>
      <li>
        <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>/">
          NetBSD/<TMPL_VAR port> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc
        </a>
      </li>
    </TMPL_IF>
  </TMPL_IF>
  <TMPL_IF changes_cur>
    <li>
      <TMPL_IF changes_port>
        <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>">
          NetBSD/<TMPL_VAR changes_port> <TMPL_VAR changes_cur> changes
        </a>
      <TMPL_ELSE>
        <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>">
          NetBSD/<TMPL_VAR port> <TMPL_VAR changes_cur> changes
        </a>
      </TMPL_IF>
    </li>
  </TMPL_IF>
  <li>
    <TMPL_IF changes_port>
      <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>">
        NetBSD/<TMPL_VAR changes_port> <TMPL_VAR changes_future> changes
      </a>
    <TMPL_ELSE>
      <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>">
        NetBSD/<TMPL_VAR port> <TMPL_VAR changes_future> changes
      </a>
    </TMPL_IF>
  </li>
</ul>

## Mailing List
<TMPL_IF port_alt>
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:
[
<a href="http://www.NetBSD.org/cgi-bin/subscribe_list.pl?list=port-<TMPL_VAR port_alt>">subscribe</a>
|
<a href="http://mail-index.NetBSD.org/port-<TMPL_VAR port_alt>/">archive</a>
]

<TMPL_ELSE>
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:
[
<a href="http://www.NetBSD.org/cgi-bin/subscribe_list.pl?list=port-<TMPL_VAR port>">subscribe</a>
|
<a href="http://mail-index.NetBSD.org/port-<TMPL_VAR port>/">archive</a>
]

</TMPL_IF>
<TMPL_IF port_alt>
<a href="mailto:port-<TMPL_VAR port_alt>-maintainer@NetBSD.org">Mail the NetBSD/<TMPL_VAR port_alt> port maintainer</a>
<TMPL_ELSE>
<a href="mailto:port-<TMPL_VAR port>-maintainer@NetBSD.org">Mail the NetBSD/<TMPL_VAR port> port maintainer</a>
</TMPL_IF>

<TMPL_IF supported_hardware>
## Supported Hardware
<TMPL_VAR NAME="supported_hardware">
</TMPL_IF>

<TMPL_IF unsupported_hardware>
## Unsupported Hardware
<TMPL_VAR unsupported_hardware>
</TMPL_IF>

<TMPL_IF additional>
## Additional Info
<TMPL_VAR additional>
</TMPL_IF>

<TMPL_ELSE>
# Ports page template

The *port* template is used to make the ports pages very easy

It supports the following parameters:

- port (required)
- port_alt (optional)
- port_var[1-7] (optional)
- install_image (optional)
- port_var_install_notes (optional)
- about (required)
- cur_rel (optional)
- future_rel (required)
- pkg_rel (optional)
- changes_cur (optional)
- changes_future (required)
- changes_port (optional)
- thumbnail (optional)
- supported_hardware (optional)
- unsupported_hardware (optional)
- no_install_notes (optional)
- additional (optional)

</TMPL_IF>

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