View | Details | Raw Unified | Return to bug 266826
Collapse All | Expand All

(-)b/devel/gdmd/Makefile (+31 lines)
Added Link Here
1
PORTNAME=	gdmd
2
DISTVERSION=	0.1.0.20210818
3
CATEGORIES=	devel
4
5
MAINTAINER=	acm@FreeBSD.org
6
COMMENT=	Wrapper providing DMD-like CLI interface to gdc
7
WWW=		https://github.com/D-Programming-GDC/gdmd
8
9
LICENSE=	GPLv2+
10
11
USES=		perl5 shebangfix
12
USE_PERL5=	run
13
SHEBANG_FILES=	dmd-script
14
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	D-Programming-GDC
17
GH_TAGNAME=	ff2c97a
18
19
NO_ARCH=	yes
20
NO_BUILD=	yes
21
22
PLIST_FILES=	bin/gdmd
23
24
post-patch:
25
	@${REINPLACE_CMD} -e 's|"gdc"|"gdc11"|g' \
26
		${PATCH_WRKSRC}/dmd-script
27
28
do-install:
29
	${INSTALL_SCRIPT} ${WRKSRC}/dmd-script ${STAGEDIR}${PREFIX}/bin/gdmd
30
31
.include <bsd.port.mk>
(-)b/devel/gdmd/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1664740180
2
SHA256 (D-Programming-GDC-gdmd-0.1.0.20210818-ff2c97a_GH0.tar.gz) = ab544a011d7c177af3ee9df38addf89d6334fbdcfab03f94641bbe5ac8231ecd
3
SIZE (D-Programming-GDC-gdmd-0.1.0.20210818-ff2c97a_GH0.tar.gz) = 7850
(-)b/devel/gdmd/pkg-descr (+3 lines)
Added Link Here
1
An interface to the GNU D compiler (GDC), which recognizes flags normally
2
used with the DMD D compiler and translates them to flags GDC can understand.
3
This makes `gdmd` a drop-in replacement to the `dmd` compiler invocation.

Return to bug 266826