blob: d2f9713cc4640a46c6c0d2d3ee033444e732d0cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= tools
PORTVERSION= 2.080.0
DISTVERSIONPREFIX= v
CATEGORIES= lang
PKGNAMEPREFIX= dlang-
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
USE_GITHUB= yes
GH_ACCOUNT= dlang
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>
|