pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import the Hare bootstrap compiler as wip/harec



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <dressupgeekout%gmail.com@localhost>
Pushed By:	cfkoch
Date:		Tue May 3 19:33:06 2022 -0700
Changeset:	8ccb12ea7d3d7c7d396f62e4572064e558254c08

Modified Files:
	Makefile
Added Files:
	harec/DESCR
	harec/Makefile
	harec/PLIST
	harec/TODO

Log Message:
Import the Hare bootstrap compiler as wip/harec

At the moment I'm purposefully ignoring a configure-time error that says
NetBSD isn't supported, heh heh heh

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8ccb12ea7d3d7c7d396f62e4572064e558254c08

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile       |  1 +
 harec/DESCR    |  1 +
 harec/Makefile | 31 +++++++++++++++++++++++++++++++
 harec/PLIST    |  2 ++
 harec/TODO     |  5 +++++
 5 files changed, 40 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6265bfbbf4..d904421d1e 100644
--- a/Makefile
+++ b/Makefile
@@ -1496,6 +1496,7 @@ SUBDIR+=	halfempty
 SUBDIR+=	hammer
 SUBDIR+=	hanazono-ttf
 SUBDIR+=	haplohseq
+SUBDIR+=	harec
 SUBDIR+=	harmony
 SUBDIR+=	hasciicam
 SUBDIR+=	haserl
diff --git a/harec/DESCR b/harec/DESCR
new file mode 100644
index 0000000000..cd1e02b799
--- /dev/null
+++ b/harec/DESCR
@@ -0,0 +1 @@
+This is a Hare compiler written in C11 for POSIX-compatible systems.
diff --git a/harec/Makefile b/harec/Makefile
new file mode 100644
index 0000000000..f3628c437f
--- /dev/null
+++ b/harec/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+DISTNAME=	harec-0
+CATEGORIES=	lang
+GIT_REPO=	https://git.sr.ht/~sircmpwn/harec
+GIT_BRANCH=	master
+GIT_REVISION=	fba0a9b547a3462d65a45ec93f78a07da58beabf
+
+MAINTAINER=	dressupgeekout%gmail.com@localhost
+HOMEPAGE=	https://harelang.org/
+COMMENT=	Hare language bootstrap compiler
+LICENSE=	gnu-gpl-v3
+
+USE_LANGUAGES=	c
+USE_TOOLS+=	gmake
+
+CONFIGURE_ARGS+=	--bindir=${BINDIR}
+CONFIGURE_ARGS+=	--libdir=${LIBDIR}
+CONFIGURE_ARGS+=	--mandir=${MANDIR}
+CONFIGURE_ARGS+=	--prefix=${PREFIX}
+CONFIGURE_ARGS+=	--sharedir=${SHAREDIR}
+
+BUILD_DEPENDS+=		qbe-[0-9]*:../../wip/qbe
+
+# XXX XXX XXX
+# >> Creating .build/config.mk... rt not supported for NetBSD
+do-configure:
+	${RUN} cd ${WRKSRC} && ${CONFIG_SHELL} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ||:
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/harec/PLIST b/harec/PLIST
new file mode 100644
index 0000000000..b075c80872
--- /dev/null
+++ b/harec/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/harec
diff --git a/harec/TODO b/harec/TODO
new file mode 100644
index 0000000000..1ba6ee065d
--- /dev/null
+++ b/harec/TODO
@@ -0,0 +1,5 @@
+harec TODO!
+
+For now we are straight up ignoring the following error:
+
+    Creating .build/config.mk... rt not supported for NetBSD


Home | Main Index | Thread Index | Old Index