Ticket #23323: Portfile-geant4.diff

File Portfile-geant4.diff, 1.7 KB (added by cristiano.fontana@…, 14 years ago)
  • Portfile

    old new  
    1 # $Id$
     1# $Id$
     2
    23PortSystem          1.0
    34
    45name                geant4
     
    3334
    3435master_sites        http://geant4.cern.ch/support/source/
    3536
    36 checksums           geant4.9.3.tar.gz \
     37checksums           geant${version}.tar.gz \
    3738                    md5     e2b02bac0bba8fb5a01e1caeefe86a7a \
    3839                    sha1    9c657e90675d64993416b46dfce70710804379d4 \
    3940                    rmd160  33f54c2dbf33a7eda1470db1a6bb44de279ac577 \
     
    9899        reinplace "s:@WORKSRCPATH@:${worksrcpath}:g" ${file}
    99100        reinplace "s:@DESTROOT@:${destroot}:g" ${file}
    100101        reinplace "s:@VERSION@:${version}:g" ${file}
     102
     103        reinplace "s:@G4NDL_V@:${G4NDL_v}:g" ${file}
     104        reinplace "s:@G4EMLOW_V@:${G4EMLOW_v}:g" ${file}
     105        reinplace "s:@PHOTONEVAPORATION_V@:${PhotonEvaporation_v}:g" ${file}
     106        reinplace "s:@RADIOACTIVEDECAY_V@:${RadioactiveDecay_v}:g" ${file}
     107        reinplace "s:@G4ABLA_V@:${G4ABLA_v}:g" ${file}
     108        reinplace "s:@REALSURFACE_V@:${RealSurface_v}:g" ${file}
    101109    }
    102110}
    103111
    104 configure { }
     112use_configure       no
    105113
    106114build.env           G4SYSTEM=${version}
    107115build.env-append    G4INSTALL=${workpath}/geant${version}
     
    155163
    156164build.env-append    XMFLAGS= -I${prefix}/include
    157165build.env-append    XMLIBS= -L${prefix}/lib -lXm -lXpm
    158 build.env-append    XMFLAGS= -I${prefix}/include
    159 build.env-append    XMLIBS= -L${prefix}/lib -lXm -lXpm
     166#build.env-append    XMFLAGS= -I${prefix}/include
     167#build.env-append    XMLIBS= -L${prefix}/lib -lXm -lXpm
    160168#build.env-append    XAWFLAGS=
    161169#build.env-append    XAWLIBS=
    162170#build.env-append    QTFLAGS=