Ticket #23323: Portfile-geant4.diff
File Portfile-geant4.diff, 1.7 KB (added by cristiano.fontana@…, 15 years ago) |
---|
-
Portfile
old new 1 # $Id$ 1 # $Id$ 2 2 3 PortSystem 1.0 3 4 4 5 name geant4 … … 33 34 34 35 master_sites http://geant4.cern.ch/support/source/ 35 36 36 checksums geant 4.9.3.tar.gz \37 checksums geant${version}.tar.gz \ 37 38 md5 e2b02bac0bba8fb5a01e1caeefe86a7a \ 38 39 sha1 9c657e90675d64993416b46dfce70710804379d4 \ 39 40 rmd160 33f54c2dbf33a7eda1470db1a6bb44de279ac577 \ … … 98 99 reinplace "s:@WORKSRCPATH@:${worksrcpath}:g" ${file} 99 100 reinplace "s:@DESTROOT@:${destroot}:g" ${file} 100 101 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} 101 109 } 102 110 } 103 111 104 configure { } 112 use_configure no 105 113 106 114 build.env G4SYSTEM=${version} 107 115 build.env-append G4INSTALL=${workpath}/geant${version} … … 155 163 156 164 build.env-append XMFLAGS= -I${prefix}/include 157 165 build.env-append XMLIBS= -L${prefix}/lib -lXm -lXpm 158 build.env-append XMFLAGS= -I${prefix}/include159 build.env-append XMLIBS= -L${prefix}/lib -lXm -lXpm166 #build.env-append XMFLAGS= -I${prefix}/include 167 #build.env-append XMLIBS= -L${prefix}/lib -lXm -lXpm 160 168 #build.env-append XAWFLAGS= 161 169 #build.env-append XAWLIBS= 162 170 #build.env-append QTFLAGS=