Revision
116700
Author
cal@macports.org
Date
2014-02-03 16:03:32 -0800 (Mon, 03 Feb 2014)

Log Message

am-utils: specify license, conform to BSD license by installing docs

Modified Paths

Diff

Modified: trunk/dports/sysutils/am-utils/Portfile (116699 => 116700)


--- trunk/dports/sysutils/am-utils/Portfile	2014-02-03 23:38:22 UTC (rev 116699)
+++ trunk/dports/sysutils/am-utils/Portfile	2014-02-04 00:03:32 UTC (rev 116700)
@@ -5,6 +5,7 @@
 
 name            am-utils
 version         6.1.5
+revision        1
 checksums       rmd160  ab1485aaa65c522cc5db7c7917ec59d3b47e0803 \
                 sha256  d070682af75effd6b49ed3e893603039ecd0a013a49d8d09375187676d645178
 
@@ -13,6 +14,7 @@
 maintainers     nomaintainer
 
 homepage        http://www.am-utils.org/
+license         BSD
 description     The Berkeley Automounter Suite of Utilities
 long_description \
     the "next generation" of the popular BSD Automounter, Amd. Am-utils \
@@ -36,6 +38,21 @@
     }
 }
 
+post-destroot {
+    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
+    xinstall -W ${worksrcpath} -m 0444 \
+       COPYING \
+       ChangeLog \
+       FAQ \
+       README \
+       README.attrcache \
+       README.autofs \
+       README.ldap \
+       README.osx \
+       README.y2k \
+       ${destroot}${prefix}/share/doc/${name} 
+}
+
 test.run        yes
 test.target     check