mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- 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
This commit is contained in:
parent
35537a31e9
commit
8d5d6c50aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446449
5 changed files with 55 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
|||
SUBDIR += cython
|
||||
SUBDIR += cython3
|
||||
SUBDIR += diveintopython
|
||||
SUBDIR += dlang-tools
|
||||
SUBDIR += dlv
|
||||
SUBDIR += dmd1
|
||||
SUBDIR += dmd2
|
||||
|
|
37
lang/dlang-tools/Makefile
Normal file
37
lang/dlang-tools/Makefile
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Created by: Alonso Cardenas Marquez <acm@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@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>
|
3
lang/dlang-tools/distinfo
Normal file
3
lang/dlang-tools/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1500783019
|
||||
SHA256 (dlang-tools/v2.075.0.tar.gz) = 2fb12e20fa62b3d3ffda60d2b1bed53485d7312c02d0ed10e4178f8859eb27dc
|
||||
SIZE (dlang-tools/v2.075.0.tar.gz) = 60312
|
4
lang/dlang-tools/pkg-descr
Normal file
4
lang/dlang-tools/pkg-descr
Normal file
|
@ -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
|
10
lang/dlang-tools/pkg-plist
Normal file
10
lang/dlang-tools/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue