Date: Mon, 31 Oct 2022 23:10:26 GMT From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 427c0ca99bb8 - main - devel/gdmd: New port: Wrapper providing DMD-like CLI interface to GDC Message-ID: <202210312310.29VNAQdT009247@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=427c0ca99bb879365377dbf229d23fa965debfcd commit 427c0ca99bb879365377dbf229d23fa965debfcd Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-10-31 23:08:23 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2022-10-31 23:09:59 +0000 devel/gdmd: New port: Wrapper providing DMD-like CLI interface to GDC An interface to the GNU D compiler (GDC), which recognizes flags normally used with the DMD D compiler and translates them to flags GDC can understand. This makes `gdmd` a drop-in replacement to the `dmd` compiler invocation. PR: 266826 --- devel/Makefile | 1 + devel/gdmd/Makefile | 31 +++++++++++++++++++++++++++++++ devel/gdmd/distinfo | 3 +++ devel/gdmd/pkg-descr | 3 +++ 4 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index dfe02aba4f6a..647778df374a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -714,6 +714,7 @@ SUBDIR += gconfmm26 SUBDIR += gdb SUBDIR += gdcm + SUBDIR += gdmd SUBDIR += geany SUBDIR += geany-plugin-addons SUBDIR += geany-plugin-autoclose diff --git a/devel/gdmd/Makefile b/devel/gdmd/Makefile new file mode 100644 index 000000000000..a00ee436c37f --- /dev/null +++ b/devel/gdmd/Makefile @@ -0,0 +1,31 @@ +PORTNAME= gdmd +DISTVERSION= 0.1.0.20210818 +CATEGORIES= devel + +MAINTAINER= acm@FreeBSD.org +COMMENT= Wrapper providing DMD-like CLI interface to gdc +WWW= https://github.com/D-Programming-GDC/gdmd + +LICENSE= GPLv2+ + +USES= perl5 shebangfix +USE_PERL5= run +SHEBANG_FILES= dmd-script + +USE_GITHUB= yes +GH_ACCOUNT= D-Programming-GDC +GH_TAGNAME= ff2c97a + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/gdmd + +post-patch: + @${REINPLACE_CMD} -e 's|"gdc"|"gdc11"|g' \ + ${PATCH_WRKSRC}/dmd-script + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/dmd-script ${STAGEDIR}${PREFIX}/bin/gdmd + +.include <bsd.port.mk> diff --git a/devel/gdmd/distinfo b/devel/gdmd/distinfo new file mode 100644 index 000000000000..dc187da464a9 --- /dev/null +++ b/devel/gdmd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1664740180 +SHA256 (D-Programming-GDC-gdmd-0.1.0.20210818-ff2c97a_GH0.tar.gz) = ab544a011d7c177af3ee9df38addf89d6334fbdcfab03f94641bbe5ac8231ecd +SIZE (D-Programming-GDC-gdmd-0.1.0.20210818-ff2c97a_GH0.tar.gz) = 7850 diff --git a/devel/gdmd/pkg-descr b/devel/gdmd/pkg-descr new file mode 100644 index 000000000000..30b4fcde1340 --- /dev/null +++ b/devel/gdmd/pkg-descr @@ -0,0 +1,3 @@ +An interface to the GNU D compiler (GDC), which recognizes flags normally +used with the DMD D compiler and translates them to flags GDC can understand. +This makes `gdmd` a drop-in replacement to the `dmd` compiler invocation.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210312310.29VNAQdT009247>