pkgsrc-WIP-changes archive

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

obnc: Import obnc-0.12.0 as wip/obnc



Module Name:	pkgsrc-wip
Committed By:	Dean Matzkov <bapabooiee%gmail.com@localhost>
Pushed By:	bapa
Date:		Wed Mar 7 09:33:16 2018 -0700
Changeset:	1a4c830d07097a359b117d094c74d067a1ff0a5c

Modified Files:
	Makefile
Added Files:
	obnc/DESCR
	obnc/Makefile
	obnc/PLIST
	obnc/TODO
	obnc/distinfo

Log Message:
obnc: Import obnc-0.12.0 as wip/obnc

obnc is a compiler for the Oberon programming language.

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

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

diffstat:
 Makefile      |  1 +
 obnc/DESCR    |  1 +
 obnc/Makefile | 29 +++++++++++++++++++++++++++++
 obnc/PLIST    | 35 +++++++++++++++++++++++++++++++++++
 obnc/TODO     | 21 +++++++++++++++++++++
 obnc/distinfo |  6 ++++++
 6 files changed, 93 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f27b0fb39e..b7c0cf3a61 100644
--- a/Makefile
+++ b/Makefile
@@ -2252,6 +2252,7 @@ SUBDIR+=	nzbget
 SUBDIR+=	obconf-qt
 SUBDIR+=	objfw-git
 SUBDIR+=	obmenu
+SUBDIR+=	obnc
 SUBDIR+=	ocaml-bin_prot
 SUBDIR+=	ocaml-biniou
 SUBDIR+=	ocaml-camomile
diff --git a/obnc/DESCR b/obnc/DESCR
new file mode 100644
index 0000000000..1e019cfd0f
--- /dev/null
+++ b/obnc/DESCR
@@ -0,0 +1 @@
+obnc is a compiler for the Oberon programming language.
diff --git a/obnc/Makefile b/obnc/Makefile
new file mode 100644
index 0000000000..a1d435b1cd
--- /dev/null
+++ b/obnc/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME=	obnc_0.12.0
+PKGNAME=	${DISTNAME:S/_/-/}
+CATEGORIES=	lang
+MASTER_SITES=	http://miasap.se/obnc/downloads/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://miasap.se/obnc/
+COMMENT=	a compiler for the Oberon programming language
+LICENSE=	gnu-gpl-v3
+
+WRKSRC=	${WRKDIR}/${PKGNAME_NOREV}
+
+USE_LANGUAGE=c
+
+do-build:
+	cd ${WRKSRC} && \
+		${PKGSRC_SETENV} ${MAKE_ENV} \
+		./build \
+			--prefix=${PREFIX}
+
+do-install:
+	cd ${WRKSRC} && \
+		./install \
+			--destdir=${DESTDIR}
+
+.include "../../devel/boehm-gc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/obnc/PLIST b/obnc/PLIST
new file mode 100644
index 0000000000..a1f8c65281
--- /dev/null
+++ b/obnc/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD$
+bin/obnc
+bin/obnc-compile
+bin/obnc-path
+bin/obncdoc
+bin/obncdoc-extract
+bin/obncdoc-index
+bin/obncdoc-markup
+include/obnc/OBNC.h
+include/obnc/OBNCConfig.h
+lib/obnc/OBNC.env
+lib/obnc/OBNC.o
+share/doc/obnc/oberon-report.html
+share/doc/obnc/obncdoc/index.html
+share/doc/obnc/obncdoc/obnc/Files.def
+share/doc/obnc/obncdoc/obnc/Files.def.html
+share/doc/obnc/obncdoc/obnc/In.def
+share/doc/obnc/obncdoc/obnc/In.def.html
+share/doc/obnc/obncdoc/obnc/Input.def
+share/doc/obnc/obncdoc/obnc/Input.def.html
+share/doc/obnc/obncdoc/obnc/Math.def
+share/doc/obnc/obncdoc/obnc/Math.def.html
+share/doc/obnc/obncdoc/obnc/Out.def
+share/doc/obnc/obncdoc/obnc/Out.def.html
+share/doc/obnc/obncdoc/obnc/Strings.def
+share/doc/obnc/obncdoc/obnc/Strings.def.html
+share/doc/obnc/obncdoc/obnc/XYplane.def
+share/doc/obnc/obncdoc/obnc/XYplane.def.html
+share/doc/obnc/obncdoc/obnc/index.html
+share/doc/obnc/obncdoc/obnc/style.css
+share/doc/obnc/obncdoc/style.css
+share/man/man1/obnc-compile.1
+share/man/man1/obnc-path.1
+share/man/man1/obnc.1
+share/man/man1/obncdoc.1
diff --git a/obnc/TODO b/obnc/TODO
new file mode 100644
index 0000000000..5d5da3af7d
--- /dev/null
+++ b/obnc/TODO
@@ -0,0 +1,21 @@
+- ./install tries to build extra stuff, and is rigged to ignore those
+  errors and keep going, as those components are considered optional.
+
+  We might want to consider patching that out and cause a hard-failure
+  if errors are detected, since things randomly not getting built/installed
+  might not play nice with PLIST.
+
+- PLIST currently doesn't include everything, due to the soft build failures
+  noted above.
+
+- Something built by ./install wants libSDL, so we'll want to use the Options
+  framework to selectively-enable using it (which'll probably require patching
+  the ./install script).
+
+- Install manpages into ${PREFIX}/man instead of ${PREFIX}/share/man.
+
+- Update DESCR so it's not just a copy of COMMENT.
+
+- Investigate the Standard Library tarball from <http://miasap.se/obnc/>,
+  and whether it should be installed along with this pkg, or separated-out
+  into its own pkg.
diff --git a/obnc/distinfo b/obnc/distinfo
new file mode 100644
index 0000000000..bc05d488f7
--- /dev/null
+++ b/obnc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (obnc_0.12.0.tar.gz) = ec12219c4060d8d6b78b0d02c5785783aa778509
+RMD160 (obnc_0.12.0.tar.gz) = 90714832c0a0658910109a275a5469d7f7383a76
+SHA512 (obnc_0.12.0.tar.gz) = 2f7fe4ce5e0e9ec71fcdb7df8badb69cc0c086d3272ff2c4c2b55dc24a37fec762b1c1563a100aa46ca528b2ba9512de252470035cb71af6828309cd203b7cd5
+Size (obnc_0.12.0.tar.gz) = 187778 bytes


Home | Main Index | Thread Index | Old Index