From 486a5d36cb11f558f319fe3d5f07a54a2f214922 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 29 Dec 2003 07:42:41 +0000 Subject: [PATCH] New port: lang/huc (PC Engine C Compiler) HuC is a PC Engine C compiler. It can create ROMs (hucard) or CD images and is bundled with an assembler and all kinds of libraries. You can ouput text, scrolls, make sound, control CD, handle sprites and tiles, and more. PR: ports/60511 Submitted by: Frederic --- lang/Makefile | 1 + lang/huc/Makefile | 43 +++++++++++++++++++++++++++++ lang/huc/distinfo | 1 + lang/huc/pkg-descr | 5 ++++ lang/huc/pkg-message | 4 +++ lang/huc/pkg-plist | 66 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 120 insertions(+) create mode 100644 lang/huc/Makefile create mode 100644 lang/huc/distinfo create mode 100644 lang/huc/pkg-descr create mode 100644 lang/huc/pkg-message create mode 100644 lang/huc/pkg-plist diff --git a/lang/Makefile b/lang/Makefile index 8e4f299c9a5b..0964cec682db 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -87,6 +87,7 @@ SUBDIR += guile SUBDIR += helium SUBDIR += hope + SUBDIR += huc SUBDIR += hugs SUBDIR += icc SUBDIR += ici diff --git a/lang/huc/Makefile b/lang/huc/Makefile new file mode 100644 index 000000000000..bf8d3185dac3 --- /dev/null +++ b/lang/huc/Makefile @@ -0,0 +1,43 @@ +# Ports collection makefile for: huc +# Date created: 1 December 2003 +# Whom: Frederic Cambus +# +# $FreeBSD$ +# + +PORTNAME= huc +PORTVERSION= 3.20 +CATEGORIES= lang emulators +MASTER_SITES= http://www.zeograd.com/download/ +DISTNAME= huc_src_320 +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= PC Engine C compiler which can create ROMs (hucard) or CD images + +WRKSRC= ${WRKDIR}/huc + +USE_GMAKE= yes + +pre-build: + @${RM} -rf ${WRKSRC}/include/CVS ${WRKSRC}/include/pce/CVS + @${RM} -rf ${WRKSRC}/doc/CVS ${WRKSRC}/doc/huc/CVS \ + ${WRKSRC}/doc/nes/CVS ${WRKSRC}/doc/pce/CVS + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/huc ${PREFIX}/bin/huc + ${INSTALL_PROGRAM} ${WRKSRC}/bin/isolink ${PREFIX}/bin/isolink + ${INSTALL_PROGRAM} ${WRKSRC}/bin/nesasm ${PREFIX}/bin/nesasm + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pceas ${PREFIX}/bin/pceas + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcxtool ${PREFIX}/bin/pcxtool + @${MKDIR} ${PREFIX}/include/${PORTNAME} + @${CP} -r ${WRKSRC}/include/ ${PREFIX}/include/${PORTNAME} + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${CP} -r ${WRKSRC}/doc/ ${PREFIX}/share/doc/${PORTNAME} +.endif + @${CAT} ${PKGMESSAGE} + +.include diff --git a/lang/huc/distinfo b/lang/huc/distinfo new file mode 100644 index 000000000000..1f1005a945f2 --- /dev/null +++ b/lang/huc/distinfo @@ -0,0 +1 @@ +MD5 (huc_src_320.tgz) = 39e03bbb5de640f43d22391b0650c64a diff --git a/lang/huc/pkg-descr b/lang/huc/pkg-descr new file mode 100644 index 000000000000..029960daee7d --- /dev/null +++ b/lang/huc/pkg-descr @@ -0,0 +1,5 @@ +HuC is a PC Engine C compiler. It can create ROMs (hucard) or CD images +and is bundled with an assembler and all kinds of libraries. You can ouput +text, scrolls, make sound, control CD, handle sprites and tiles, and more. + +WWW: http://www.zeograd.com/ diff --git a/lang/huc/pkg-message b/lang/huc/pkg-message new file mode 100644 index 000000000000..d6db1bebe90d --- /dev/null +++ b/lang/huc/pkg-message @@ -0,0 +1,4 @@ +====================================================================== +Huc is now installed! +Set the $PCE_INCLUDE environment variable to ${PREFIX}/include/huc/pce +====================================================================== diff --git a/lang/huc/pkg-plist b/lang/huc/pkg-plist new file mode 100644 index 000000000000..def122187e8f --- /dev/null +++ b/lang/huc/pkg-plist @@ -0,0 +1,66 @@ +bin/huc +bin/isolink +bin/nesasm +bin/pceas +bin/pcxtool +include/huc/pce/cdrom.asm +include/huc/pce/cdrom.inc +include/huc/pce/equ.inc +include/huc/pce/font.inc +include/huc/pce/func.inc +include/huc/pce/huc.asm +include/huc/pce/huc.h +include/huc/pce/huc.inc +include/huc/pce/huc_bram.asm +include/huc/pce/huc_gfx.asm +include/huc/pce/huc_math.asm +include/huc/pce/huc_misc.asm +include/huc/pce/huc_opt.inc +include/huc/pce/ipl.bin +include/huc/pce/joypad.asm +include/huc/pce/library.asm +include/huc/pce/library.inc +include/huc/pce/macro.inc +include/huc/pce/math.asm +include/huc/pce/mouse.asm +include/huc/pce/scroll.asm +include/huc/pce/sound.asm +include/huc/pce/sound.inc +include/huc/pce/sprites.inc +include/huc/pce/standard.inc +include/huc/pce/startup.asm +include/huc/pce/startup.inc +include/huc/pce/system.inc +include/huc/pce/vdc.inc +include/huc/overlay.h +@dirrm include/huc/pce +@dirrm include/huc +%%DOCSDIR%%/huc/random.txt +%%DOCSDIR%%/huc/clibref.txt +%%DOCSDIR%%/huc/clibref_fr.htm +%%DOCSDIR%%/huc/clibref_fr.txt +%%DOCSDIR%%/huc/huc_doc.htm +%%DOCSDIR%%/huc/mmldoc.txt +%%DOCSDIR%%/huc/overlays.txt +%%DOCSDIR%%/huc/clibref.htm +%%DOCSDIR%%/nes/cpu_inst.txt +%%DOCSDIR%%/nes/history.txt +%%DOCSDIR%%/nes/index.txt +%%DOCSDIR%%/nes/neshdr20.txt +%%DOCSDIR%%/nes/usage.txt +%%DOCSDIR%%/pce/vdc.txt +%%DOCSDIR%%/pce/cpu.txt +%%DOCSDIR%%/pce/cpu_inst.txt +%%DOCSDIR%%/pce/history.txt +%%DOCSDIR%%/pce/index.txt +%%DOCSDIR%%/pce/library.txt +%%DOCSDIR%%/pce/psg.txt +%%DOCSDIR%%/pce/sprites.txt +%%DOCSDIR%%/pce/techdoc.txt +%%DOCSDIR%%/pce/usage.txt +%%DOCSDIR%%/pce/vce.txt +%%DOCSDIR%%/pce/concepts.txt +@dirrm %%DOCSDIR%%/huc +@dirrm %%DOCSDIR%%/pce +@dirrm %%DOCSDIR%%/nes +@dirrm %%DOCSDIR%%