- 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
This commit is contained in:
Jose Alonso Cardenas Marquez 2017-07-22 03:33:36 +00:00
parent 64c8edbda1
commit 42165ccd39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446363
5 changed files with 70 additions and 0 deletions

View file

@ -409,6 +409,7 @@
SUBDIR += dbus-sharp
SUBDIR += dbus-sharp-glib
SUBDIR += dbus-tcl
SUBDIR += dcd-server
SUBDIR += dcmtk
SUBDIR += dconf
SUBDIR += dconf-editor

40
devel/dcd-server/Makefile Normal file
View file

@ -0,0 +1,40 @@
# Created by: Alonso Cardenas Marquez <acm@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@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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1500631426
SHA256 (dcd-server/v0.9.0.tar.gz) = 4a2c7ec13951296eda8c6e48259868c00ad1807dd506036d88d31aeaad3b3e36
SIZE (dcd-server/v0.9.0.tar.gz) = 102724

View file

@ -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",

View file

@ -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