diff --git a/lang/tcc816/Makefile b/lang/tcc816/Makefile new file mode 100644 index 0000000000000..f36b10d530245 --- /dev/null +++ b/lang/tcc816/Makefile @@ -0,0 +1,28 @@ +PORTNAME= tcc +DISTVERSION= 0.9.25 +CATEGORIES= lang +PKGNAMESUFFIX= 816 + +MAINTAINER= freebsd@darkain.com +COMMENT= WDC 65816 fork of the Tiny C Compiler (TCC) +WWW= https://github.com/alekmaul/tcc + +LICENSE= MIT +LICENSE_FILE_MIT= ${WRKSRC}/RELICENSING + +USES= gmake +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" + +USE_GITHUB= yes +GH_ACCOUNT= alekmaul +GH_TAGNAME= 10810db6 + +PLIST_FILES= bin/816-tcc + +.include + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/816-tcc ${STAGEDIR}${PREFIX}/bin/ + +.include diff --git a/lang/tcc816/distinfo b/lang/tcc816/distinfo new file mode 100644 index 0000000000000..b4c723981b751 --- /dev/null +++ b/lang/tcc816/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1692904691 +SHA256 (alekmaul-tcc-0.9.25-10810db6_GH0.tar.gz) = e3e57f3c3045f0dbfb3955e2a427d4af27912def5c577e3e3d361e8534f91c3b +SIZE (alekmaul-tcc-0.9.25-10810db6_GH0.tar.gz) = 236850 diff --git a/lang/tcc816/pkg-descr b/lang/tcc816/pkg-descr new file mode 100644 index 0000000000000..996ea54b71f4f --- /dev/null +++ b/lang/tcc816/pkg-descr @@ -0,0 +1,4 @@ +A fork of the the Tiny C Compiler (TCC) for the WDC 65816 CPU + +This CPU is used by the Super Nintendo Entertainment System (SNES) +and the Super Famicom (SFC), as well as other devices from that era.