[31097] trunk/dports/devel/dia2code/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Nov 15 20:21:49 PST 2007


On Nov 15, 2007, at 15:21, source_changes at macosforge.org wrote:

>  post-destroot {
> -    cd ${worksrcpath}
> +    xinstall -m 0444 ${worksrcpath}/${name}.1 ${destroot}${prefix}/ 
> share/man/man1
>
> -    xinstall -m 0444 ${name}.1 ${destroot}${prefix}/share/man/man1
> -
> -    set docdir ${prefix}/share/doc/${name}-${version}
> -    xinstall -m 0755 -d ${destroot}${docdir}
> -    xinstall -m 0644 AUTHORS COPYING ChangeLog README TODO $ 
> {destroot}${docdir}
> +    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
> +    xinstall -m 0755 -d ${docdir}
> +    xinstall -m 0644 ${worksrcpath}/AUTHORS ${worksrcpath}/COPYING \
> +      ${worksrcpath}/ChangeLog ${worksrcpath}/README $ 
> {worksrcpath}/TODO \
> +      ${docdir}
>  }

Don't forget that the -W option for xinstall exists to make this easier:

     xinstall -m 0644 -W ${worksrcpath} \
       AUTHORS COPYING ChangeLog README TODO \
       ${docdir}



More information about the macports-dev mailing list