mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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:
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
|
@ -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
40
devel/dcd-server/Makefile
Normal 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>
|
3
devel/dcd-server/distinfo
Normal file
3
devel/dcd-server/distinfo
Normal 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
|
17
devel/dcd-server/files/patch-dub.json
Normal file
17
devel/dcd-server/files/patch-dub.json
Normal 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",
|
9
devel/dcd-server/pkg-descr
Normal file
9
devel/dcd-server/pkg-descr
Normal 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
|
Loading…
Add table
Reference in a new issue