[140130] trunk/dports/devel

sean at macports.org sean at macports.org
Wed Sep 9 14:27:58 PDT 2015


Revision: 140130
          https://trac.macports.org/changeset/140130
Author:   sean at macports.org
Date:     2015-09-09 14:27:57 -0700 (Wed, 09 Sep 2015)
Log Message:
-----------
godep: add new port

Added Paths:
-----------
    trunk/dports/devel/godep/
    trunk/dports/devel/godep/Portfile

Added: trunk/dports/devel/godep/Portfile
===================================================================
--- trunk/dports/devel/godep/Portfile	                        (rev 0)
+++ trunk/dports/devel/godep/Portfile	2015-09-09 21:27:57 UTC (rev 140130)
@@ -0,0 +1,42 @@
+# -*- 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$
+
+PortSystem          1.0
+PortGroup           github 1.0
+
+set githash         bb418303c7e0
+github.setup        tools godep ${githash}
+categories          devel
+platforms           darwin freebsd linux
+license             BSD
+maintainers         nomaintainer
+description         Dependency tool for go
+long_description    $description
+
+checksums           rmd160  c071dc3c1dca0490a8f9f0403a056a9d1c989352 \
+                    sha256  8db44a46c70a2b5fa8f4dc6e39f57a87107f006d9ed6c52c27371d60abd8eedf
+
+depends_build       port:go
+depends_lib         port:go-tools
+
+universal_variant   no
+
+use_configure       no
+
+build.cmd           go
+build.target        install
+build.env           GOPATH=${worksrcpath} \
+                    GOBIN=${worksrcpath}/bin
+
+# what kind of tool does this?
+post-extract {
+    file mkdir ${worksrcpath}/src/github.com/tools
+    ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/tools/${name}
+}
+
+destroot {
+    xinstall -d ${destroot}${prefix}/bin
+    xinstall -m 755 ${worksrcpath}/bin/${name}-${githash} ${destroot}${prefix}/bin/${name}
+}
+
+livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150909/ee1264f7/attachment.html>


More information about the macports-changes mailing list