Ticket #16910: Portfile-rrdtool.diff
File Portfile-rrdtool.diff, 1.8 KB (added by mlund (Mikael Lund), 16 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name grace 7 version 5.1.2 17 version 5.1.22 8 8 revision 1 9 9 categories x11 math science print 10 10 platforms darwin … … 21 21 ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/${sub} \ 22 22 http://gd.tuwien.ac.at/visual/${sub} \ 23 23 http://ftp.chg.ru/pub/math/${sub} 24 checksums md5 db02dee3c68179c41452e652bd469bb9 24 25 checksums md5 672356466f18fe59ed21a8fb44f9851d \ 26 sha1 3ce88c7c264d2de73b8935f835a1c1f8e368c78f \ 27 rmd160 ca7b1abe240de7cd3dbdc52d5182020c410b9772 25 28 26 29 depends_lib lib:libX11.6:XFree86 \ 27 30 port:openmotif \ … … 30 33 port:jpeg \ 31 34 port:zlib 32 35 33 configure.pre_args --prefix=${prefix}/lib --with-helpviewer="open ${prefix}/share/doc/${name}/`basename %s`" 36 patchfiles patch-configure.diff 37 38 configure.pre_args --prefix=${prefix}/lib \ 39 --with-helpviewer="open ${prefix}/share/doc/${name}/`basename %s`" 34 40 35 41 post-destroot { 36 42 xinstall -m 755 -d ${destroot}${prefix}/share/doc … … 40 46 file rename ${destroot}${prefix}/lib/grace/examples ${destroot}${prefix}/share/doc/${name}/examples 41 47 file rename ${destroot}${prefix}/lib/grace/include/grace_np.h ${destroot}${prefix}/include/grace_np.h 42 48 file rename ${destroot}${prefix}/lib/grace/lib/libgrace_np.a ${destroot}${prefix}/lib/libgrace_np.a 43 system "cd ${destroot}${prefix}/share/doc/${name} && ln -s . .doc"49 system "cd ${destroot}${prefix}/share/doc/${name} && ln -s . doc" 44 50 system "cd ${destroot}${prefix}/share && mv doc/grace/*.1 man/man1/" 45 51 } 52 53 variant netcdf description {Support for NetCDF data files} { 54 depends_lib-append port:netcdf 55 configure.args-append --enable-netcdf 56 }