[140139] trunk/dports/devel
sean at macports.org
sean at macports.org
Wed Sep 9 14:28:10 PDT 2015
Revision: 140139
https://trac.macports.org/changeset/140139
Author: sean at macports.org
Date: 2015-09-09 14:28:10 -0700 (Wed, 09 Sep 2015)
Log Message:
-----------
d-completion-daemon: add new port to autocomplete the d language
Added Paths:
-----------
trunk/dports/devel/d-completion-daemon/
trunk/dports/devel/d-completion-daemon/Portfile
Added: trunk/dports/devel/d-completion-daemon/Portfile
===================================================================
--- trunk/dports/devel/d-completion-daemon/Portfile (rev 0)
+++ trunk/dports/devel/d-completion-daemon/Portfile 2015-09-09 21:28:10 UTC (rev 140139)
@@ -0,0 +1,36 @@
+# -*- 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
+
+github.setup Hackerpilot DCD 0.7.0-rc2 v
+name d-completion-daemon
+categories devel
+platforms darwin
+license GPLv3
+maintainers sean openmaintainer
+description The D Completion Daemon (DCD) is an auto-complete program for the \
+ D programming language
+long_description DCD consists of a client and a server. The client (dcd-client) is almost \
+ always used through a text editor script or plugin, though it can be used \
+ from the command line. The server (dcd-server) is responsible for caching \
+ imported files, calculating autocomplete information, and sending it back \
+ to the client.
+
+# Fetch from git instead of distfile because it needs submodules
+fetch.type git
+
+depends_lib port:dmd
+
+use_configure no
+
+post-fetch {
+ system -W ${worksrcpath} "git submodule update --init --recursive"
+}
+
+destroot {
+ xinstall -d -m 755 ${destroot}${prefix}/bin
+ file copy ${worksrcpath}/bin/dcd-client ${destroot}${prefix}/bin
+ file copy ${worksrcpath}/bin/dcd-server ${destroot}${prefix}/bin
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150909/062b88c5/attachment.html>
More information about the macports-changes
mailing list