Ticket #34706: ncarg_Portfile.diff

File ncarg_Portfile.diff, 916 bytes (added by tenomoto (Takeshi Enomoto), 12 years ago)
  • Portfile

     
    55
    66name                        ncarg
    77version                     6.0.0
    8 revision                    3
     8revision                    4
    99categories                  science
    1010maintainers                 takeshi
    1111description                 language for scientific data processing and visualization
     
    136136    system "cd ${worksrcpath}/config; \
    137137        make -f Makefile.ini; \
    138138        ./ymake -config `pwd`"
    139     system "unzip -o ${prefix}/var/macports/distfiles/triangle/triangle.zip -d /tmp; \
    140         mv /tmp/triangle.* ${worksrcpath}/ni/src/lib/hlu"
     139    foreach ext "c h" {
     140      file copy ${prefix}/share/triangle/triangle.${ext} ${worksrcpath}/ni/src/lib/hlu
     141    }
    141142}
    142143configure {
    143144    system "cd ${worksrcpath}; ./Configure -v << EOF