Commit 63d19905 authored by acm's avatar acm
Browse files

- 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
parent 905c25bb
......@@ -409,6 +409,7 @@
SUBDIR += dbus-sharp
SUBDIR += dbus-sharp-glib
SUBDIR += dbus-tcl
SUBDIR += dcd-server
SUBDIR += dcmtk
SUBDIR += dconf
SUBDIR += dconf-editor
......
# 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>
TIMESTAMP = 1500631426
SHA256 (dcd-server/v0.9.0.tar.gz) = 4a2c7ec13951296eda8c6e48259868c00ad1807dd506036d88d31aeaad3b3e36
SIZE (dcd-server/v0.9.0.tar.gz) = 102724
--- 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",
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment