Commit 905c25bb authored by acm's avatar acm
Browse files

- New port: devel/d-scanner

D-Scanner is a tool for analyzing D source code

WWW: https://github.com/dlang-community/D-Scanner
parent d915f49a
...@@ -398,6 +398,7 @@ ...@@ -398,6 +398,7 @@
SUBDIR += cxref SUBDIR += cxref
SUBDIR += cxxtest SUBDIR += cxxtest
SUBDIR += cxxtools SUBDIR += cxxtools
SUBDIR += d-scanner
SUBDIR += d-feet SUBDIR += d-feet
SUBDIR += darts SUBDIR += darts
SUBDIR += dash.el SUBDIR += dash.el
......
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= d-scanner
PORTVERSION= 0.4.0
CATEGORIES= devel
MASTER_SITES= https://github.com/dlang-community/D-Scanner/archive/
DISTNAME= ${DISTVERSION:S/^/v/}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= Swiss-army knife for D source code
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/libinifiled.a:devel/inifiled \
${LOCALBASE}/lib/d/libddoc.a:devel/libddoc \
${LOCALBASE}/lib/d/libdparse.a:devel/libdparse
PLIST_FILES= bin/dscanner
WRKSRC= ${WRKDIR}/${PORTNAME:S/d/D/:S/s/S/}-${PORTVERSION}
DUB_CMD= ${LOCALBASE}/bin/dub build --build=release
do-build:
@cd ${WRKSRC} && ${DUB_CMD}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dscanner ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
TIMESTAMP = 1500625040
SHA256 (d-scanner/v0.4.0.tar.gz) = 6deea211e538f36e7e1731e8e620da07fbd1918b1be4b0dc081535e194647570
SIZE (d-scanner/v0.4.0.tar.gz) = 56904
--- dub.json.orig 2017-02-13 22:32:31 UTC
+++ dub.json
@@ -6,10 +6,6 @@
"license" : "Boost Software License - Version 1.0",
"targetType": "executable",
"versions": ["built_with_dub"],
- "dependencies": {
- "libdparse": "~>0.7.0",
- "dsymbol": "~>0.2.0",
- "inifiled": ">=0.0.6",
- "emsi_containers": "~>0.5.3"
- },
+ "lflags":["-L/usr/local/lib/d"],
+ "libs" : ["dparse","inifiled","dsymbol","emsi_containers"],
}
D-Scanner is a tool for analyzing D source code
WWW: https://github.com/dlang-community/D-Scanner
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