Date: Sat, 22 Jul 2017 03:31:33 +0000 (UTC) From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446362 - in head/devel: . d-scanner d-scanner/files Message-ID: <201707220331.v6M3VX8A082932@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: acm Date: Sat Jul 22 03:31:33 2017 New Revision: 446362 URL: https://svnweb.freebsd.org/changeset/ports/446362 Log: - New port: devel/d-scanner D-Scanner is a tool for analyzing D source code WWW: https://github.com/dlang-community/D-Scanner Added: head/devel/d-scanner/ head/devel/d-scanner/Makefile (contents, props changed) head/devel/d-scanner/distinfo (contents, props changed) head/devel/d-scanner/files/ head/devel/d-scanner/files/patch-dub.json (contents, props changed) head/devel/d-scanner/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jul 22 03:29:52 2017 (r446361) +++ head/devel/Makefile Sat Jul 22 03:31:33 2017 (r446362) @@ -398,6 +398,7 @@ SUBDIR += cxref SUBDIR += cxxtest SUBDIR += cxxtools + SUBDIR += d-scanner SUBDIR += d-feet SUBDIR += darts SUBDIR += dash.el Added: head/devel/d-scanner/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/d-scanner/Makefile Sat Jul 22 03:31:33 2017 (r446362) @@ -0,0 +1,34 @@ +# 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> Added: head/devel/d-scanner/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/d-scanner/distinfo Sat Jul 22 03:31:33 2017 (r446362) @@ -0,0 +1,3 @@ +TIMESTAMP = 1500625040 +SHA256 (d-scanner/v0.4.0.tar.gz) = 6deea211e538f36e7e1731e8e620da07fbd1918b1be4b0dc081535e194647570 +SIZE (d-scanner/v0.4.0.tar.gz) = 56904 Added: head/devel/d-scanner/files/patch-dub.json ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/d-scanner/files/patch-dub.json Sat Jul 22 03:31:33 2017 (r446362) @@ -0,0 +1,15 @@ +--- 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"], + } Added: head/devel/d-scanner/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/d-scanner/pkg-descr Sat Jul 22 03:31:33 2017 (r446362) @@ -0,0 +1,3 @@ +D-Scanner is a tool for analyzing D source code + +WWW: https://github.com/dlang-community/D-Scanner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707220331.v6M3VX8A082932>