Ticket #40979: Portfile.asymptote-2.29.patches.diff

File Portfile.asymptote-2.29.patches.diff, 2.6 KB (added by mf2k (Frank Schima), 10 years ago)
  • 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
     50patchfiles          patch-config.h.in.diff \
     51                    patch-configure.diff \
     52                    patch-configure.ac.diff \
     53                    patch-drawlabel.cc.diff \
     54                    patch-genv.cc.diff
     55
     56# Runtime dependencies really depend on user preferences.
     57# Asy can draw graphics without any TeX or without LaTeX,
     58# so one might just as well remove all deps (or add more)
     59#
     60# The hierarchy of dependencies goes as:
     61# - texlive-latex-recommended [common, bin, basic, latex]
     62# - texlive-latex             [common, bin, basic]
     63# - texlive-basic             [common, bin]
     64#
     65# But then asy also supports luatex, context, etc.
     66depends_run         port:ghostscript \
     67                    port:texlive-basic
     68
    3869post-destroot {
    3970    set python.bin ""
    4071    if {[variant_isset python27]} {
     
    5081    }
    5182}
    5283
    53 patchfiles          patch-prc-writePRC.h.diff
    54 
    5584post-activate {
    5685  # run `mktexlsr` to make sure the asymptote files are found:
    5786  system "mktexlsr"