[99761] trunk/dports/devel
Frank Schima
macsforever2000 at macports.org
Fri Nov 16 14:23:24 PST 2012
On Nov 16, 2012, at 3:17 PM, eborisch at macports.org wrote:
> Revision
> 99761
> Author
> eborisch at macports.org
> Date
> 2012-11-16 14:17:56 -0800 (Fri, 16 Nov 2012)
> Log Message
>
> codesearch: New port. Closes #37007.
> Added Paths
>
> trunk/dports/devel/codesearch/
> trunk/dports/devel/codesearch/Portfile
> Diff
>
> Added: trunk/dports/devel/codesearch/Portfile (0 => 99761)
>
> --- trunk/dports/devel/codesearch/Portfile (rev 0)
> +++ trunk/dports/devel/codesearch/Portfile 2012-11-16 22:17:56 UTC (rev 99761)
> @@ -0,0 +1,56 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +# Adapted from https://bitbucket.org/seanfarley/scienceports/src/de7cc636fbec/devel/codesearch/Portfile?at=default
> +
> +PortSystem 1.0
> +
> +name codesearch
> +version 20121021
> +categories devel
> +maintainers openmainter
"openmainter" is not a valid maintainer. Neither is "openmaintainer" by itself. You want "nomaintainer" if there is no maintainer.
> +description Indexed regular expression-based search
> +long_description \
> + Code Search is a tool for indexing and then performing regular \
> + expression searches over large bodies of source code. It is a \
> + set of command-line programs written in Go
> +
> +license BSD
> +homepage http://code.google.com/p/codesearch/
> +master_sites http://codesearch.googlecode.com/files/
> +
> +depends_lib port:go
> +
> +worksrcdir src/code.google.com/p/codesearch
> +
> +distname ${name}-${version}
This is the default distname and thus should be deleted.
> +extract.suffix .tgz
> +
> +post-extract {
> + xinstall -d ${workpath}/src/code.google.com/p
> + move ${workpath}/${name} ${workpath}/src/code.google.com/p
> +}
> +
> +use_configure no
> +set progs [list cgrep csearch cindex]
> +
> +build {
> + foreach prog ${progs} {
> + system -W ${worksrcpath} \
> + "GOPATH=${workpath} go build cmd/${prog}/${prog}.go"
> + }
> +}
> +
> +destroot {
> + foreach prog ${progs} {
> + xinstall ${worksrcpath}/${prog} ${destroot}${prefix}/bin
> + }
> +}
> +
> +checksums \
> + rmd160 28e1c25f4fe5381d84c8ad4280b70a4bc2fd0427 \
> + sha256 cec62d9951fa4fb29a212139b1f2ddbab7536b3fb3fe2067840596cb482191c6
> +
> +livecheck.type regex
> +livecheck.url http://code.google.com/p/codesearch/downloads/list
> +livecheck.regex ${name}-(\\d+).tgz
> Property changes on: trunk/dports/devel/codesearch/Portfile
> ___________________________________________________________________
> Added: svn:keywords
> Added: svn:eol-style
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-changes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20121116/32db86cc/attachment.html>
More information about the macports-dev
mailing list