[99762] trunk/dports/devel/codesearch/Portfile
eborisch at macports.org
eborisch at macports.org
Fri Nov 16 14:25:15 PST 2012
Revision: 99762
https://trac.macports.org/changeset/99762
Author: eborisch at macports.org
Date: 2012-11-16 14:25:15 -0800 (Fri, 16 Nov 2012)
Log Message:
-----------
codesearch: Copy license file.
Modified Paths:
--------------
trunk/dports/devel/codesearch/Portfile
Modified: trunk/dports/devel/codesearch/Portfile
===================================================================
--- trunk/dports/devel/codesearch/Portfile 2012-11-16 22:17:56 UTC (rev 99761)
+++ trunk/dports/devel/codesearch/Portfile 2012-11-16 22:25:15 UTC (rev 99762)
@@ -7,6 +7,7 @@
name codesearch
version 20121021
+revision 1
categories devel
maintainers openmainter
description Indexed regular expression-based search
@@ -35,16 +36,20 @@
set progs [list cgrep csearch cindex]
build {
- foreach prog ${progs} {
- system -W ${worksrcpath} \
- "GOPATH=${workpath} go build cmd/${prog}/${prog}.go"
- }
+ foreach prog ${progs} {
+ system -W ${worksrcpath} \
+ "GOPATH=${workpath} go build cmd/${prog}/${prog}.go"
+ }
}
destroot {
- foreach prog ${progs} {
- xinstall ${worksrcpath}/${prog} ${destroot}${prefix}/bin
- }
+ foreach prog ${progs} {
+ xinstall ${worksrcpath}/${prog} ${destroot}${prefix}/bin
+ }
+
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ xinstall ${worksrcpath}/LICENSE \
+ ${destroot}${prefix}/share/doc/${name}/
}
checksums \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121116/d7623b01/attachment.html>
More information about the macports-changes
mailing list