most recent changes, diff for foremost

Index: sysutils/foremost/Portfile
--- sysutils/foremost/Portfile (revision 39126)
+++ sysutils/foremost/Portfile (revision 39127)
@@ -3,7 +3,7 @@
PortSystem 1.0

name foremost
-version 0.69
+version 1.5.4
categories sysutils
maintainers md@hudora.de
platforms darwin
@@ -12,22 +12,26 @@
their headers and footers. Foremost can work on image files, such as those \
generated by dd, Safeback, Encase, etc, or directly on a drive. The headers \
and footers are specified by a configuration file, so you can pick and \
-choose which headers you want to look for.
-master_sites sourceforge
+choose which headers you want to look for.
homepage http://foremost.sourceforge.net/
-checksums md5 c52a0aa87180a5331f28acbb6563e9b2
-patchfiles patch-Makefile patch-foremost.h
+master_sites ${homepage}pkg/
+checksums md5 55395b1fef1039a88e02d81682347f6d \
+ sha1 af075ea068bf1a83d7b37852dd7c60308e46f5de \
+ rmd160 34a490742f7b112d72e1075351fa93d9511da995
+
use_configure no

platform darwin {
build.target mac
+ destroot.args BIN=${destroot}${prefix}/bin \
+ MAN=${destroot}${prefix}/share/man/man1 \
+ CONF=${destroot}${prefix}/etc
}

-destroot.destdir PREFIX=${destroot}${prefix}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} README CHANGES TODO \
+ xinstall -m 644 -W ${worksrcpath} README CHANGES \
${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} foremost.conf \
- ${destroot}${prefix}/etc/foremost.conf.sample
+ move ${destroot}${prefix}/etc/foremost.conf \
+ ${destroot}${prefix}/etc/foremost.conf.sample
}