Ticket #12060: info-Portfile.diff
File info-Portfile.diff, 2.0 KB (added by jochen@…, 17 years ago) |
---|
-
dports/lang/gcc42/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 80 81 81 82 destroot.target install install-info-host 82 83 83 post-destroot {84 file delete -force ${destroot}${prefix}/share/man/man7 \85 ${destroot}${prefix}/share/info86 }87 84 88 85 #platform darwin 7 { 89 86 # configure.cflags-append -force_cpusubtype_ALL … … 108 105 file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/ 109 106 } 110 107 xinstall -m 755 -d ${destroot}${prefix}/etc/select/gcc 111 xinstall -m 444 ${filespath}/mp-gcc42 ${destroot}${prefix}/etc/select/gcc/ 108 file delete -force ${destroot}${prefix}/share/man/man7 109 if { ! [variant_isset info] } { 110 file delete -force ${destroot}${prefix}/share/info 111 } else { 112 system "install-info ${destroot}${prefix}/share/info/cpp.info ${prefix}/share/info/dir" 113 system "install-info ${destroot}${prefix}/share/info/cppinternals.info ${prefix}/share/info/dir" 114 system "install-info ${destroot}${prefix}/share/info/gcc.info ${prefix}/share/info/dir" 115 system "install-info ${destroot}${prefix}/share/info/gccinstall.info ${prefix}/share/info/dir" 116 system "install-info ${destroot}${prefix}/share/info/gccint.info ${prefix}/share/info/dir" 117 system "install-info ${destroot}${prefix}/share/info/gcj.info ${prefix}/share/info/dir" 118 system "install-info ${destroot}${prefix}/share/info/gfortran.info ${prefix}/share/info/dir" 119 system "install-info ${destroot}${prefix}/share/info/libgomp.info ${prefix}/share/info/dir" 120 } 112 121 } 113 122 123 variant info description "Install info files" { 124 # This only changes post-destroot, see there for actions 125 } 126 114 127 # odcctools currently do not compile for x64 - move to variant for the time being 115 128 variant odcctools { 116 129 depends_lib-append bin:odas:odcctools