Ticket #36354: Portfile.diff

File Portfile.diff, 1.1 KB (added by lockhart (Thomas Lockhart), 12 years ago)

Portfile using all patches available in the current Fedora 18 RPM. Includes fixes for regular expressions.

  • Portfile

    old new  
    55
    66name                docbook-utils
    77version             0.6.14
     8revision            1
    89categories          textproc
    910platforms           darwin
    1011license             GPL-2+
     
    3233
    3334configure.args-append --mandir=${prefix}/share/man
    3435
     36post-extract {
     37    copy ${filespath}/docbook2man-spec.pl \
     38        ${worksrcpath}/bin/
     39}
     40
     41patch.pre_args      -p1
     42patchfiles          docbook-utils-spaces.patch \
     43                    docbook-utils-2ndspaces.patch \
     44                    docbook-utils-w3mtxtconvert.patch \
     45                    docbook-utils-grepnocolors.patch \
     46                    docbook-utils-sgmlinclude.patch \
     47                    docbook-utils-rtfmanpage.patch \
     48                    docbook-utils-papersize.patch \
     49                    docbook-utils-nofinalecho.patch \
     50                    docbook-utils-newgrep.patch
     51
     52
    3553post-patch {
    3654    reinplace -E "s|^docdir=.+$|docdir='${prefix}/share/doc'|" \
    3755        ${worksrcpath}/configure