File:  [NetBSD Developer Wiki] / wikisrc / templates / port.mdwn
Revision 1.15: download - view: text, annotated - select for diffs
Tue Mar 22 21:01:51 2016 UTC (2 years, 7 months ago) by leot
Branches: MAIN
CVS tags: HEAD
Add a port_var_install_notes and modify the template in order to make possible
to also add a link to the INSTALL notes for ports that have port_var-s.

Addresses port-evbmips/50956, also discussed with sevan@.

<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
<TMPL_IF cur_rel><TMPL_IF port_var1>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR cur_rel> via FTP](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var1>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> FTP")
<TMPL_IF port_var2>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR cur_rel> via FTP](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var2>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> FTP")</TMPL_IF>
<TMPL_IF port_var3>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR cur_rel> via FTP](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var3>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> FTP")</TMPL_IF>
<TMPL_IF port_var4>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR cur_rel> via FTP](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var4>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> FTP")</TMPL_IF>
<TMPL_IF port_var5>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR cur_rel> via FTP](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var5>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> FTP")</TMPL_IF>
<TMPL_IF port_var6>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR cur_rel> via FTP](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var6>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> FTP")</TMPL_IF>
<TMPL_IF port_var7>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR cur_rel> via FTP](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>-<TMPL_VAR port_var7>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> FTP")</TMPL_IF>
<TMPL_ELSE>* [NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> via FTP](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>/ "NetBSD/<TMPL_VAR port> FTP")</TMPL_IF></TMPL_IF>
<TMPL_IF cur_rel><TMPL_IF port_var_install_notes>* [NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> INSTALL notes](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port_var_install_notes>/INSTALL.html "NetBSD/<TMPL_VAR port> INSTALL notes")
<TMPL_ELSE>* [NetBSD/<TMPL_VAR port> <TMPL_VAR cur_rel> INSTALL notes](http://ftp.NetBSD.org/pub/NetBSD/NetBSD-<TMPL_VAR cur_rel>/<TMPL_VAR port>/INSTALL.html "NetBSD/<TMPL_VAR port> INSTALL notes")</TMPL_IF></TMPL_IF>
<TMPL_IF pkg_rel><TMPL_IF port_var1>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc](http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var1>/<TMPL_VAR pkg_rel>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var1> pkgsrc binary packages")
<TMPL_IF port_var2>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc](http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var2>/<TMPL_VAR pkg_rel>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var2> pkgsrc binary packages")</TMPL_IF>
<TMPL_IF port_var3>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc](http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var3>/<TMPL_VAR pkg_rel>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var3> pkgsrc binary packages")</TMPL_IF>
<TMPL_IF port_var4>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc](http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var4>/<TMPL_VAR pkg_rel>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var4> pkgsrc binary packages")</TMPL_IF>
<TMPL_IF port_var5>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc](http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var5>/<TMPL_VAR pkg_rel>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var5> pkgsrc binary packages")</TMPL_IF>
<TMPL_IF port_var6>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc](http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var6>/<TMPL_VAR pkg_rel>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var6> pkgsrc binary packages")</TMPL_IF>
<TMPL_IF port_var7>* [NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc](http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port_var7>/<TMPL_VAR pkg_rel>/ "NetBSD/<TMPL_VAR port>-<TMPL_VAR port_var7> pkgsrc binary packages")</TMPL_IF>
<TMPL_ELSE>* [NetBSD/<TMPL_VAR port> <TMPL_VAR pkg_rel> pre-built binary packages from pkgsrc](http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/<TMPL_VAR port>/<TMPL_VAR pkg_rel>/ "NetBSD/<TMPL_VAR port> pkgsrc binary packages")</TMPL_IF></TMPL_IF>
<TMPL_IF changes_cur>* [NetBSD/<TMPL_VAR port> <TMPL_VAR changes_cur> changes](http://www.NetBSD.org/changes/changes-<TMPL_VAR changes_cur>.html#port-<TMPL_VAR port> "NetBSD/<TMPL_VAR port> <TMPL_VAR changes_cur> changes")</TMPL_IF>
* [NetBSD/<TMPL_VAR port> <TMPL_VAR changes_future> changes](http://www.NetBSD.org/changes/changes-<TMPL_VAR changes_future>.html#port-<TMPL_VAR port> "NetBSD/<TMPL_VAR port> <TMPL_VAR changes_future> changes")

## 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>
<a href="mailto:port-<TMPL_VAR port>-maintainer@NetBSD.org">Mail the NetBSD/<TMPL_VAR port> port maintainer</a>

<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)
- port_var_install_notes (optional)
- about (required)
- cur_rel (optional)
- future_rel (required)
- pkg_rel (optional)
- changes_cur (optional)
- changes_future (required)
- thumbnail (optional)
- supported_hardware (optional)
- unsupported_hardware (optional)
- additional (optional)

</TMPL_IF>

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