svn commit: r446363 - in head/devel: . dcd-server dcd-server/files
Jose Alonso Cardenas Marquez
acm at FreeBSD.org
Sat Jul 22 03:33:37 UTC 2017
Author: acm
Date: Sat Jul 22 03:33:36 2017
New Revision: 446363
URL: https://svnweb.freebsd.org/changeset/ports/446363
Log:
- New port: devel/dcd-server
DCD is not an IDE. DCD is designed to provide autocompletion for your favorite
text editor. If you are looking for an IDE, try one of these.
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.
WWW: https://github.com/dlang-community/DCD
Added:
head/devel/dcd-server/
head/devel/dcd-server/Makefile (contents, props changed)
head/devel/dcd-server/distinfo (contents, props changed)
head/devel/dcd-server/files/
head/devel/dcd-server/files/patch-dub.json (contents, props changed)
head/devel/dcd-server/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Jul 22 03:31:33 2017 (r446362)
+++ head/devel/Makefile Sat Jul 22 03:33:36 2017 (r446363)
@@ -409,6 +409,7 @@
SUBDIR += dbus-sharp
SUBDIR += dbus-sharp-glib
SUBDIR += dbus-tcl
+ SUBDIR += dcd-server
SUBDIR += dcmtk
SUBDIR += dconf
SUBDIR += dconf-editor
Added: head/devel/dcd-server/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dcd-server/Makefile Sat Jul 22 03:33:36 2017 (r446363)
@@ -0,0 +1,40 @@
+# Created by: Alonso Cardenas Marquez <acm at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= dcd
+PORTVERSION= 0.9.0
+CATEGORIES?= devel
+MASTER_SITES= https://github.com/dlang-community/DCD/archive/
+PKGNAMESUFFIX?= -server
+DISTNAME= ${PORTVERSION:S/^/v/}
+DIST_SUBDIR= ${PORTNAME}-server
+
+MAINTAINER= acm at FreeBSD.org
+COMMENT?= Auto-complete program for the D programming language (server)
+
+LICENSE= BSL
+
+BUILD_DEPENDS= ldmd2:lang/ldc \
+ dub:devel/dub \
+ ${LOCALBASE}/lib/d/libemsi_containers.a:devel/containers \
+ ${LOCALBASE}/lib/d/libdsymbol.a:devel/dsymbol \
+ ${LOCALBASE}/lib/d/libmsgpack-d.a:devel/msgpack-d \
+ ${LOCALBASE}/lib/d/libdparse.a:devel/libdparse
+
+PLIST_FILES= bin/dcd-${PKGNAMESUFFIX:S/-//} \
+ man/man1/dcd${PKGNAMESUFFIX}.1.gz
+WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${PORTVERSION}
+DUB_CMD= ${LOCALBASE}/bin/dub build --build=release --config=${DUB_CONFIG}
+DUB_CONFIG?= server
+
+post-patch:
+ ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dub.json
+
+do-build:
+ @cd ${WRKSRC} && ${DUB_CMD}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dcd${PKGNAMESUFFIX} ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/man1/dcd${PKGNAMESUFFIX}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
Added: head/devel/dcd-server/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dcd-server/distinfo Sat Jul 22 03:33:36 2017 (r446363)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1500631426
+SHA256 (dcd-server/v0.9.0.tar.gz) = 4a2c7ec13951296eda8c6e48259868c00ad1807dd506036d88d31aeaad3b3e36
+SIZE (dcd-server/v0.9.0.tar.gz) = 102724
Added: head/devel/dcd-server/files/patch-dub.json
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dcd-server/files/patch-dub.json Sat Jul 22 03:33:36 2017 (r446363)
@@ -0,0 +1,17 @@
+--- dub.json.orig 2017-07-03 08:14:25 UTC
++++ dub.json
+@@ -6,12 +6,9 @@
+ "Brian Schott"
+ ],
+ "license": "GPL-3.0",
+- "dependencies": {
+- "dsymbol": "~>0.2.4",
+- "libdparse": "~>0.7.1-beta.4",
+- "msgpack-d": "~>1.0.0-beta.3"
+- },
+ "versions": ["built_with_dub"],
++ "libs": ["dsymbol","dparse","emsi_containers","msgpack-d"],
++ "lflags": ["-L/usr/local/lib/d"],
+ "configurations": [
+ {
+ "name": "library",
Added: head/devel/dcd-server/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dcd-server/pkg-descr Sat Jul 22 03:33:36 2017 (r446363)
@@ -0,0 +1,9 @@
+DCD is not an IDE. DCD is designed to provide autocompletion for your favorite
+text editor. If you are looking for an IDE, try one of these.
+
+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.
+
+WWW: https://github.com/dlang-community/DCD
More information about the svn-ports-all
mailing list