[94348] trunk/dports/math
Ryan Schmidt
ryandesign at macports.org
Sun Jun 17 16:04:45 PDT 2012
On Jun 15, 2012, at 16:59, hum at macports.org wrote:
> Revision: 94348
> https://trac.macports.org/changeset/94348
> Author: hum at macports.org
> Date: 2012-06-15 14:59:39 -0700 (Fri, 15 Jun 2012)
> Log Message:
> -----------
> New port: wapiti @1.4.0 - A simple and fast discriminative sequence labelling toolkit.
>
> Added Paths:
> -----------
> trunk/dports/math/wapiti/
> trunk/dports/math/wapiti/Portfile
> +post-destroot {
> + # install additional documents.
> + set wapiti_dir ${destroot}${prefix}/share/${name}
> + xinstall -d ${wapiti_dir}
> + xinstall -m 644 -W ${worksrcpath} \
> + COPYING HISTORY \
> + ${wapiti_dir}
> + # install sample data.
> + copy ${worksrcpath}/dat ${wapiti_dir}
> +}
Unless wapiti has special requirements, documentation should usually go in ${prefix}/share/doc/${name}:
https://trac.macports.org/wiki/PortfileRecipes#doc
Sample data is fine where you put it in ${prefix}/share/${name}.
More information about the macports-dev
mailing list