Import obnc-libstd_0.6.0 as wip/obnc-libstd

obnc-libstd is the set of standard libraries for use with OBNC.

Homepage: http://miasap.se/obnc/
This commit is contained in:
Dean Matzkov 2019-01-25 00:15:01 -07:00
parent 164dff67a0
commit 18c4af5825
5 changed files with 52 additions and 0 deletions

1
obnc-libstd/DESCR Normal file
View File

@ -0,0 +1 @@
OBNC standard library

32
obnc-libstd/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $NetBSD$
DISTNAME= obnc-libstd_0.6.0
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= lang
MASTER_SITES= http://miasap.se/obnc/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://miasap.se/obnc/
COMMENT= Standard libraries for the OBNC compiler suite
# FIXME: gnu-gpl-v3 is the WRONG LICENSE. The real license is ``Mozilla Public License Version 2.0``.
# See TODO on the rationale.
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= c
do-build:
cd ${WRKSRC} && \
${PKGSRC_SETENV} ${MAKE_ENV} \
./build
# Unlike obnc which uses ``./install --destdir=DESTDIR``, obnc-libstd
# uses ``./install DESTDIR`` instead.
# do-install:
# cd ${WRKSRC} && \
# ./install ${DESTDIR}
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../wip/obnc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

0
obnc-libstd/PLIST Normal file
View File

13
obnc-libstd/TODO Normal file
View File

@ -0,0 +1,13 @@
- obnc-libstd is licensed under Mozilla Public License Version 2.0, but that
license doesn't seem to be in $PKGSRC/licenses. For now it's left as GPL v3
(same license as obnc) until we can figure out what to do about this.
- obnc-libstd fails to build, likely because of the soft build failures
noted in obnc/TODO.
- obnc and obnc-libstd both apparently have ${PREFIX}/doc/obnc/obncdoc/index.html
files. So be prepared for PLIST conflicts once this package builds successfully.
- Make sure ${PREFIX}/share/doc/obnc/obncdoc/std gets installed.
- Improve the DESCR.

6
obnc-libstd/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (obnc-libstd_0.6.0.tar.gz) = 8577f3ab5f03e9f170d55768ed653ced6375e5c3
RMD160 (obnc-libstd_0.6.0.tar.gz) = 0e0ed946354f85486886ecd16a4a2fb61a07693b
SHA512 (obnc-libstd_0.6.0.tar.gz) = d21eaa22a73d16b4ed24753c4d3ac9a126750cfc69da2c0cb1fd2c5cc56141fa756d8c339de3545905cbbae67af0ccfa27a61f6696833a93ae1a9dac42abb55f
Size (obnc-libstd_0.6.0.tar.gz) = 24201 bytes