Ignore:
Timestamp:
May 10, 2015, 6:35:17 PM (5 years ago)
Author:
larryv@…
Message:

yodl: Update to 3.05.00

Also:

  • Enable universal variant.
  • Just use the system's bash and Perl. This simplifies the dependencies and lets me get rid of an annoying patch.
Location:
trunk/dports/textproc/yodl
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/yodl/Portfile

    r136043 r136044  
    55
    66name                yodl
    7 version             3.04.00
    8 revision            1
     7version             3.05.00
    98categories          textproc
    109platforms           darwin
     
    2524homepage            http://yodl.sourceforge.net
    2625
    27 depends_build       port:icmake bin:perl:perl5
    28 depends_lib         bin:bash:bash
    29 depends_skip_archcheck-append icmake bash
     26depends_build       port:icmake
    3027installs_libs       no
    3128
    3229master_sites        sourceforge:project/yodl/yodl/${version}
    3330distfiles           yodl_${version}.orig${extract.suffix}
    34 checksums           rmd160  bd03e15418295eb112b4228d3e2fd68b95d225a7 \
    35                     sha256  66b317877906e165506796f9342a1adf931376f7d8b6990b2d2ff12107685893
     31checksums           rmd160  22ba808220ea1d3e2e19d72df401101fb66d49e6 \
     32                    sha256  2f360062a85f9359207088b2586da863e2b111428f3e12486cd34c9de12b1b8a
    3633
    3734patchfiles          avoid-c++11.patch \
    38                     fix-hashbangs.patch \
    3935                    use-macports-compilers.patch \
    4036                    use-macports-locations.patch
     
    4642
    4743use_configure       no
    48 # TODO: Enable universal variant.
     44variant universal {}
    4945
    5046# Install steps derived from INSTALL.txt in the distribution.
    5147
    5248build {
    53     set environ CFLAGS='${configure.cflags}'
    54     append environ " CXXFLAGS='${configure.cxxflags}'"
    55     append environ " LDFLAGS='${configure.ldflags}'"
     49    set environ "CFLAGS='${configure.cflags} [get_canonical_archflags cc]'"
     50    append environ \
     51            " CXXFLAGS='${configure.cxxflags} [get_canonical_archflags cxx]'"
     52    append environ \
     53            " LDFLAGS='${configure.ldflags} [get_canonical_archflags ld]'"
    5654
    5755    # Some sed(1) invocations fail without this.
    5856    append environ " LC_ALL=C"
    5957
    60     # Don't bother building manual, since that requires LaTeX.
     58    # Contrary to what the current INSTALL.txt says, 3.05.00 requires
     59    # that "build macros" be run before "build man".
    6160    system -W ${worksrcpath} "env $environ ./build programs"
     61    system -W ${worksrcpath} "env $environ ./build macros"
    6262    system -W ${worksrcpath} "env $environ ./build man"
    63     system -W ${worksrcpath} "env $environ ./build macros"
     63    # Don't bother building manual, since it requires LaTeX.
    6464}
    6565
Note: See TracChangeset for help on using the changeset viewer.