import gmc4cc 0.6.2

C compiler for the Gakken GMC-4 4-bit microcomputer.
Output is in (optionally optimized) F-Maikon R-165 assembler.

ok kili@
This commit is contained in:
jasper 2011-08-25 18:53:35 +00:00
parent 11315d3b95
commit e4d7b8dbcd
4 changed files with 44 additions and 0 deletions

32
devel/gmc4cc/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/08/25 18:53:35 jasper Exp $
COMMENT= C compiler for GMC-4
DISTNAME= gmc4cc-0.6.2
CATEGORIES= devel lang
# Japanese, use this for the English version: http://goo.gl/LPtgg
HOMEPAGE= http://terus.jp/engineering/gmc4cc/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/
MODULES= converters/libiconv
WANTLIB += c gmp m pthread util
BUILD_DEPENDS= lang/ghc
LIB_DEPENDS= devel/gmp
WRKDIST= ${WRKDIR}/gmc4cc/
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gmc4cc ${PREFIX}/bin/
.include <bsd.port.mk>

5
devel/gmc4cc/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (gmc4cc-0.6.2.tar.gz) = i3tQXQQyEsA4H70V2xnK8A==
RMD160 (gmc4cc-0.6.2.tar.gz) = 2TRMD3tL9dCsR2G1S/mNULX4AFg=
SHA1 (gmc4cc-0.6.2.tar.gz) = wL3dYK9aDd02s8F1G8ecvrQtOAg=
SHA256 (gmc4cc-0.6.2.tar.gz) = l2OOmm7Eyu8C8o6H8V+yP41CfFJOApc3SJLVyk5ZpTk=
SIZE (gmc4cc-0.6.2.tar.gz) = 16659

5
devel/gmc4cc/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
C compiler for the Gakken GMC-4 4-bit microcomputer.
Output is in (optionally optimized) F-Maikon R-165 assembler.
Use as:
gmc4cc < input.c > output.s

2
devel/gmc4cc/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/08/25 18:53:35 jasper Exp $
@bin bin/gmc4cc