Changeset 115962


Ignore:
Timestamp:
Jan 15, 2014, 3:22:01 PM (6 years ago)
Author:
mojca@…
Message:

pgf: upgrade to 3.0.0, add some preliminary patches (see #42088)

Location:
trunk/dports/tex/pgf
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/pgf/Portfile

    r115780 r115962  
    66
    77name                pgf
    8 version             2.10
     8version             3.0.0
    99categories          tex textproc
    1010platforms           darwin
     
    2424depends_lib         bin:texhash:texlive-basic
    2525
    26 master_sites        sourceforge:pgf
     26master_sites        sourceforge:project/pgf/pgf/version%20${version}
    2727use_zip             yes
    2828distname            ${name}_${version}.tds
    29 checksums           rmd160  85eea50acad282a3f13d11a87368c6f16e35ff49 \
    30                     sha256  6d197e2a6a7bdadc81d180ef58ad2ef3e446fb07e05ac52821047d8c31b90b95
     29checksums           rmd160  572204fedbaf9034dc56d9049e40c919b08d4b9e \
     30                    sha256  672b15d0a73fcaee1efefdaf396db1d8313e08d91db9b15bfde293eb6132474e
    3131
    3232extract.mkdir       yes
    3333
     34# the patchfiles are only relevant if building the C code gets enabled one day,
     35# but the patches are not complete yet (building the module is not working)
     36patchfiles          patch-MakefileConfig.mk.diff \
     37                    patch-Makefile.diff
     38post-patch {
     39    # instead of patching all this one could also create LocalMakefileConfig.mk
     40    set mymakefileconfig ${worksrcpath}/source/generic/pgf/c/config/MakefileConfig.mk
     41    reinplace s|@@PREFIX@@|${prefix}| ${mymakefileconfig}
     42    reinplace s|@@CC@@|${configure.cc}| ${mymakefileconfig}
     43    reinplace s|@@ARCHFLAGS@@|-arch\ ${build_arch}| ${mymakefileconfig}
     44    reinplace s|@@CFLAGS@@|${configure.cflags}| ${mymakefileconfig}
     45    reinplace s|@@LDFLAGS@@|${configure.ldflags}\ -llua| ${mymakefileconfig}
     46}
     47
    3448use_configure       no
    3549
     50# we won't build anything for now, but if anyone wants to finish the work,
     51# see https://trac.macports.org/ticket/42088
    3652build { }
     53# build.dir         ${worksrcpath}/source/generic/pgf/c
    3754
    3855destroot {
     
    4057    file mkdir ${destroot}${texlive_texmfports}/
    4158    file copy ${r}/doc ${destroot}${texlive_texmfports}/
    42     file copy ${r}/scripts ${destroot}${texlive_texmfports}/
    4359    file copy ${r}/source ${destroot}${texlive_texmfports}/
    4460    file copy ${r}/tex ${destroot}${texlive_texmfports}/
Note: See TracChangeset for help on using the changeset viewer.