Ticket #13302: bison-2.3_1.diff

File bison-2.3_1.diff, 1014 bytes (added by nox@…, 16 years ago)
  • Portfile

     
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem      1.0
     4
    45name            bison
    56version         2.3
     7revision        1
    68categories      devel
    79maintainers     mww
    810description     general-purpose parser generator
     
    2123                rmd160 c6a116d6b763fad3f4df6e303943e09ed080cb26
    2224use_bzip2       yes
    2325
    24 depends_lib     port:gettext port:m4
     26depends_lib     port:gettext \
     27                port:libiconv
     28depends_run     port:m4
    2529
    2630configure.args  --infodir=${prefix}/share/info \
    2731                --mandir=${prefix}/share/man \
    2832                --disable-yacc
    2933
     34post-destroot {
     35    set docdir ${prefix}/share/doc/${name}-${version}
     36    xinstall -d ${destroot}${docdir}
     37    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS THANKS TODO \
     38        ${destroot}${docdir}
     39}
     40
    3041test.run        yes
    3142test.target     check
    3243