Ticket #40979: asymptote-2.29.Portfile.diff

File asymptote-2.29.Portfile.diff, 2.4 KB (added by mojca (Mojca Miklavec), 10 years ago)

Update asymptote to 2.29 (might fix problem on 10.9?), remove dep on texlive (#43691)

  • Portfile

     
    55PortGroup           texlive 1.0
    66
    77name                asymptote
    8 version             2.28
     8version             2.29
    99categories          graphics
    1010maintainers         gmail.com:loshea
    1111description         a vector graphics language
     
    2323                    --disable-offscreen
    2424master_sites        sourceforge
    2525extract.suffix      .src.tgz
    26 checksums           rmd160  c028df3174018877ca2a3db274de1328f5f1011e \
    27                     sha256  d6d4be0f37da3eec241f52c4b1427eeb22785deaf33e2dd4bb7a9305a6cfb47e
    28 depends_build       port:texinfo
     26checksums           rmd160  e1a46654e0a3f1c65b63afc69a46a476d40fd911 \
     27                    sha256  6c5cf29beefad40414f47223b12d438493bee64db24b4c30ac785e8db801c9c3
     28
     29# texlive-latex-recommended and texinfo are only used for building the docs
     30# other relevant packages are:
     31# - texlive-common
     32# - texlive-bin
     33# - texlive-basic
     34# - texlive-latex
     35# but they are already a dependency of latex-recommended
     36#
     37# one day we could split that into a separate +docs variant
     38# or fetch the PDF from somewhere
     39depends_build       port:ghostscript \
     40                    port:texinfo \
     41                    port:texlive-latex-recommended
     42
    2943depends_lib         port:readline \
    30                     port:texlive \
    31                     port:ghostscript \
    3244                    port:fftw-3 \
    3345                    port:gsl \
    3446                    port:libsigsegv \
     
    3547                    port:ncurses \
    3648                    path:lib/libgc.dylib:boehmgc
    3749
     50# Runtime dependencies really depend on user preferences.
     51# Asy can draw graphics without any TeX or without LaTeX,
     52# so one might just as well remove all deps (or add more)
     53#
     54# The hierarchy of dependencies goes as:
     55# - texlive-latex-recommended [common, bin, basic, latex]
     56# - texlive-latex             [common, bin, basic]
     57# - texlive-basic             [common, bin]
     58#
     59# But then asy also supports luatex, context, etc.
     60depends_run         port:ghostscript \
     61                    port:texlive-basic
     62
    3863post-destroot {
    3964    set python.bin ""
    4065    if {[variant_isset python27]} {
     
    5075    }
    5176}
    5277
    53 patchfiles          patch-prc-writePRC.h.diff
    54 
    5578post-activate {
    5679  # run `mktexlsr` to make sure the asymptote files are found:
    5780  system "mktexlsr"