Ignore:
Timestamp:
Aug 10, 2007, 2:02:32 PM (13 years ago)
Author:
yves@…
Message:

Version 0.13.
The default is now to fetch pre-built html files, since the build is really very long
It is still possible to build the thing
But it is now also possible to build only one language to "optimize disk space" WOW !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/gimp-user-manual/Portfile

    r27319 r27598  
    33PortSystem 1.0
    44name            gimp-user-manual
    5 version         0.12
     5version         0.13
    66categories      graphics
    77maintainers     nomaintainer@macports.org
     
    1414platforms       darwin
    1515
    16 distname        gimp-help-2-${version}
    17 master_sites    ftp://ftp.gimp.org/pub/gimp/help/
    18 checksums       md5 fc1e2153eafa04fa701b23818029c3e1
     16# FIXME : build is done in destroot phase because
     17# everything was getting rebuilt during destroot anyway
    1918
    20 depends_build   port:pkgconfig \
    21                 port:docbook-xsl \
    22                 port:docbook-xml-4.3 \
    23                 port:libxslt \
    24                 bin:${prefix}/bin/gimp:gimp2
     19build {}
    2520
    26 configure.args  --enable-build
     21default_variants    +fetch
    2722
    28 build.env       XML_CATALOG_FILES=${prefix}/etc/xml/catalog
     23variant fetch {
     24    distname        gimp-help-html-${version}
     25    master_sites    macports:yves
     26    use_bzip2       yes
     27    checksums       md5 ad1e532a9a912951162a439097907ed8
     28   
     29    extract         {}
     30    use_configure   no
     31    destroot {
     32        cd ${destroot}${prefix}/share
     33        system "tar jvxf ${distpath}/${distfiles}"
     34    }
     35}
    2936
    30 variant without_gimp {
     37variant build conflicts fetch {
     38    distname        gimp-help-2-${version}
     39    master_sites    ftp://ftp.gimp.org/pub/gimp/help/
     40    checksums       md5 a0d3ab0e503cacaaaa031958bfad43e5
     41
     42    depends_build \
     43        port:coreutils \
     44        port:docbook-xsl \
     45        port:docbook-xml-4.3 \
     46        port:libxslt \
     47        port:pkgconfig \
     48        path:${prefix}/lib/pkgconfig/gimp-2.0.pc:gimp2
     49
     50    post-patch {
     51        reinplace "s|cp|gcp|g" ${worksrcpath}/Makefile.in
     52    }
     53
     54    configure.args  --enable-build
     55    destroot.env    XML_CATALOG_FILES=${prefix}/etc/xml/catalog
     56}
     57
     58variant without_gimp requires build {
    3159    configure.args-append   --without-gimp
    32     depends_build-delete    bin:${prefix}/bin/gimp:gimp2
     60    depends_build-delete    path:${prefix}/lib/pkgconfig/gimp-2.0.pc:gimp2
    3361}
     62
     63variant cs requires build {
     64    configure.env-append ALL_LINGUAS=cs
     65}
     66
     67variant de requires build {
     68    configure.env-append ALL_LINGUAS=de
     69}
     70
     71variant en requires build {
     72    configure.env-append ALL_LINGUAS=en
     73}
     74
     75variant es requires build {
     76    configure.env-append ALL_LINGUAS=es
     77}
     78
     79variant fr requires build {
     80    configure.env-append ALL_LINGUAS=fr
     81}
     82
     83variant hr requires build {
     84    configure.env-append ALL_LINGUAS=hr
     85}
     86
     87variant it requires build {
     88    configure.env-append ALL_LINGUAS=it
     89}
     90
     91variant ko requires build {
     92    configure.env-append ALL_LINGUAS=ko
     93}
     94
     95variant nl requires build {
     96    configure.env-append ALL_LINGUAS=nl
     97}
     98
     99variant no requires build {
     100    configure.env-append ALL_LINGUAS=no
     101}
     102
     103variant ru requires build {
     104    configure.env-append ALL_LINGUAS=ru
     105}
     106
     107variant sv requires build {
     108    configure.env-append ALL_LINGUAS=sv
     109}
     110
     111variant zh_CN requires build {
     112    configure.env-append ALL_LINGUAS=zh_CN
     113}
Note: See TracChangeset for help on using the changeset viewer.