Ticket #15925: Portfile.unified.diff
File Portfile.unified.diff, 2.1 KB (added by davidh@…, 16 years ago) |
---|
-
(a) Portfile vs. (b) Portfile_new
a b 1 # $Id: Portfile,v 1. 1 2008/05/20 04:13:07davidh Exp $1 # $Id: Portfile,v 1.7 2008/07/03 22:01:14 davidh Exp $ 2 2 3 3 PortSystem 1.0 4 4 name pgplot … … 28 28 29 29 checksums ${name}5.2.tar.gz md5 e8a6e8d0d5ef9d1709dfb567724525ae 30 30 31 depends_lib lib:libpng:libpng lib:libz:zlib bin:g77-dp-3.4:gcc3431 depends_lib lib:libpng:libpng lib:libz:zlib 32 32 33 33 patchfiles patch-makemake patch-src_grgfil.f patch-drivers.list \ 34 patch-pgdispd_proccom.c 34 patch-pgdispd_proccom.c patch-sys_darwin_aaaread.me 35 35 36 36 post-extract { 37 37 file mkdir ${worksrcpath} … … 71 71 ${destroot}${prefix}/share/doc/${name} 72 72 } 73 73 74 platform darwin { 75 global ppMakeMakeTarget ppCompilerSpec 76 set ppMakeMakeTarget darwin 74 set ppMakeMakeTarget darwin 75 set ppCompilerSpec nocompiler 76 77 variant g77 description {compiles with g77 compiler} conflicts gcc42 { 78 depends_lib-append bin:g77-dp-3.4:gcc34 77 79 set ppCompilerSpec g77_gcc 78 patchfiles-append patch-sys_darwin_aaaread.me \ 79 patch-sys_darwin_g77_gcc.conf 80 post-patch { 81 reinplace "s|@@PREFIX@@|${prefix}|g" \ 82 ${worksrcpath}/../sys_darwin/${ppCompilerSpec}.conf 83 reinplace "s|@@X11PREFIX@@|${x11prefix}|g" \ 84 ${worksrcpath}/../sys_darwin/${ppCompilerSpec}.conf 85 } 80 patchfiles-append patch-sys_darwin_g77_gcc.conf 86 81 } 87 82 88 platform darwin i386 { 89 depends_lib-delete bin:g77-dp-3.4:gcc34 83 variant gcc42 description {compiles with gcc42 compiler} conflicts g77 { 90 84 depends_lib-append port:gcc42 91 92 85 set ppCompilerSpec gfortran_gcc_42 93 94 patchfiles-delete patch-sys_darwin_g77_gcc.conf95 86 patchfiles-append patch-sys_darwin_gfortran_gcc_42.conf 96 87 } 97 88 98 default_variants +x11 +aqt 89 post-patch { 90 reinplace "s|@@PREFIX@@|${prefix}|g" \ 91 ${worksrcpath}/../sys_darwin/${ppCompilerSpec}.conf 92 reinplace "s|@@X11PREFIX@@|${x11prefix}|g" \ 93 ${worksrcpath}/../sys_darwin/${ppCompilerSpec}.conf 94 } 99 95 100 96 variant x11 { 101 97 depends_lib-append lib:libX11:XFree86 … … 133 129 } 134 130 } 135 131 } 132 133 default_variants +x11 +aqt +gcc42