svn commit: r446449 - in head/lang: . dlang-tools

Jose Alonso Cardenas Marquez acm at FreeBSD.org
Sun Jul 23 05:25:11 UTC 2017


Author: acm
Date: Sun Jul 23 05:25:09 2017
New Revision: 446449
URL: https://svnweb.freebsd.org/changeset/ports/446449

Log:
  - New port: lang/dlang-tools
  
  This repository hosts various tools redistributed with DMD or used internally
  during various build tasks.
  
  WWW: https://github.com/dlang/tools

Added:
  head/lang/dlang-tools/
  head/lang/dlang-tools/Makefile   (contents, props changed)
  head/lang/dlang-tools/distinfo   (contents, props changed)
  head/lang/dlang-tools/pkg-descr   (contents, props changed)
  head/lang/dlang-tools/pkg-plist   (contents, props changed)
Modified:
  head/lang/Makefile

Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile	Sun Jul 23 05:14:10 2017	(r446448)
+++ head/lang/Makefile	Sun Jul 23 05:25:09 2017	(r446449)
@@ -50,6 +50,7 @@
     SUBDIR += cython
     SUBDIR += cython3
     SUBDIR += diveintopython
+    SUBDIR += dlang-tools
     SUBDIR += dlv
     SUBDIR += dmd1
     SUBDIR += dmd2

Added: head/lang/dlang-tools/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/dlang-tools/Makefile	Sun Jul 23 05:25:09 2017	(r446449)
@@ -0,0 +1,37 @@
+# Created by: Alonso Cardenas Marquez <acm at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	dlang-tools
+PORTVERSION=	2.075.0
+CATEGORIES=	lang
+MASTER_SITES=	https://github.com/dlang/tools/archive/
+DISTNAME=	${PORTVERSION:S/^/v/}
+DIST_SUBDIR=	${PORTNAME}
+
+MAINTAINER=	acm at FreeBSD.org
+COMMENT=	Ancillary tools for the D programming language compiler
+
+LICENSE=	BSL
+
+BUILD_DEPENDS=	ldmd2:lang/ldc \
+		dub:devel/dub \
+		${LOCALBASE}/lib/d/libdparse.a:devel/libdparse
+
+WRKSRC=		${WRKDIR}/tools-${PORTVERSION}
+LDC2_CMD=	${LOCALBASE}/bin/ldc2
+TOOLS_LIST=	catdoc changed checkwhitespace ddemangle detab dget rdmd tolf
+
+do-build:
+.for f in ${TOOLS_LIST}
+	${LDC2_CMD} ${WRKSRC}/${f}.d -of=${WRKSRC}/${f}
+.endfor
+	cd ${WRKSRC}/DustMite && \
+		${LDC2_CMD} dustmite.d splitter.d -of=${WRKSRC}/dustmite
+
+do-install:
+.for f in ${TOOLS_LIST} dustmite
+	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/
+.endfor
+	${INSTALL_MAN} ${WRKSRC}/man/man1/rdmd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>

Added: head/lang/dlang-tools/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/dlang-tools/distinfo	Sun Jul 23 05:25:09 2017	(r446449)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1500783019
+SHA256 (dlang-tools/v2.075.0.tar.gz) = 2fb12e20fa62b3d3ffda60d2b1bed53485d7312c02d0ed10e4178f8859eb27dc
+SIZE (dlang-tools/v2.075.0.tar.gz) = 60312

Added: head/lang/dlang-tools/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/dlang-tools/pkg-descr	Sun Jul 23 05:25:09 2017	(r446449)
@@ -0,0 +1,4 @@
+This repository hosts various tools redistributed with DMD or used internally 
+during various build tasks.
+
+WWW: https://github.com/dlang/tools

Added: head/lang/dlang-tools/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/dlang-tools/pkg-plist	Sun Jul 23 05:25:09 2017	(r446449)
@@ -0,0 +1,10 @@
+bin/catdoc
+bin/changed
+bin/checkwhitespace
+bin/ddemangle
+bin/detab
+bin/dget
+bin/dustmite
+bin/rdmd
+bin/tolf
+man/man1/rdmd.1.gz


More information about the svn-ports-all mailing list