Changeset 4310 for trunk/dports
- Timestamp:
- Dec 27, 2003, 2:31:05 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/games/fortune/Portfile
r3233 r4310 1 # $Id: Portfile,v 1.1 4 2003/08/15 13:03:43 fkrExp $1 # $Id: Portfile,v 1.15 2003/12/27 14:31:05 mww Exp $ 2 2 3 3 PortSystem 1.0 … … 161 161 } } 162 162 163 destroot { cd ${worksrcpath} 164 system "install -o root -m 755 -d ${destroot}${prefix}/bin" 165 system "install -o root -m 755 -d ${destroot}${prefix}/man/man6" 166 system "install -o root -m 755 -d ${destroot}${prefix}/man/man8" 167 system "install -o root -m 755 -d \ 168 ${destroot}${prefix}/share/games/fortune" 169 system "install -o root -m 755 -c fortune/fortune \ 170 ${destroot}${prefix}/bin" 171 system "install -o root -m 755 -c strfile/strfile \ 172 ${destroot}${prefix}/bin" 173 system "install -o root -m 755 -c unstr/unstr \ 174 ${destroot}${prefix}/bin" 175 system "install -o root -m 644 -c fortune/fortune.6.gz \ 176 ${destroot}${prefix}/man/man6" 177 system "install -o root -m 644 -c strfile/strfile.8.gz \ 178 ${destroot}${prefix}/man/man8" 179 system "install -o root -m 644 -c strfile/strfile.8.gz \ 180 ${destroot}${prefix}/man/man8/unstr.8.gz" 181 182 cd datfiles 183 foreach datfile $datfiles { 184 system "install -o root -m 644 -c $datfile \ 185 ${destroot}/${prefix}/share/games/fortune" } } 163 destroot { 164 file mkdir ${destroot}${prefix}/share/games/fortune 165 file copy ${worksrcpath}/fortune/fortune ${destroot}${prefix}/bin 166 file copy ${worksrcpath}/strfile/strfile ${destroot}${prefix}/bin 167 file copy ${worksrcpath}/unstr/unstr ${destroot}${prefix}/bin 168 file copy ${worksrcpath}/fortune/fortune.6.gz \ 169 ${destroot}${prefix}/share/man/man6 170 file copy ${worksrcpath}/strfile/strfile.8.gz \ 171 ${destroot}${prefix}/share/man/man8 172 file copy ${worksrcpath}/strfile/strfile.8.gz \ 173 ${destroot}${prefix}/share/man/man8/unstr.8.gz 174 175 cd datfiles 176 foreach datfile $datfiles { 177 file copy ${worksrcpath}/datfiles/${datfile} \ 178 ${destroot}/${prefix}/share/games/fortune 179 } 180 }
Note: See TracChangeset
for help on using the changeset viewer.