Ticket #30746: Portfile.diff
File Portfile.diff, 1.6 KB (added by howarth@…, 13 years ago) |
---|
-
Portfile
old new 5 5 6 6 name molmol 7 7 version 2k.2.0 8 revision 28 revision 3 9 9 categories science 10 10 maintainers bromo.med.uc.edu:howarth 11 11 description Molecular graphics display program … … 33 33 port:jpeg \ 34 34 port:libpng \ 35 35 port:xpm 36 patchfiles molmol-build.diff 36 patchfiles molmol-build.diff molmol-warnings.diff molmol-png.diff 37 37 use_configure no 38 38 use_parallel_build no 39 39 build.target-delete all … … 43 43 ${worksrcpath}/molmol 44 44 } 45 45 destroot { 46 # prune installed files 47 foreach d {main motif win} { 48 system "cd ${worksrcpath}; rm -f src/${d}/*.h src/${d}/*.c src/${d}/*.o" 49 } 46 50 # Install example files not installed by the Makefile 47 file copy ${worksrcpath} \ 48 ${destroot}${prefix}/share/${name} 51 file mkdir ${destroot}${prefix}/share/${name}/src 52 foreach d {auxil COPYING data help HISTORY INSTALL macros man molmol README README.UNIX setup tips} { 53 copy ${worksrcpath}/${d} ${destroot}${prefix}/share/${name} 54 } 55 foreach d {main motif win} { 56 copy ${worksrcpath}/src/${d} ${destroot}${prefix}/share/${name}/src 57 } 49 58 ln -s ${prefix}/share/${name}/${name} ${destroot}${prefix}/bin/${name} 50 59 file mkdir ${destroot}${prefix}/share/doc/${name} 51 60 ln -s ${prefix}/share/${name}/COPYING ${destroot}${prefix}/share/doc/${name}/COPYING