1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/lang/huc/Makefile
Edwin Groothuis 486a5d36cb 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 <nexusb@free.fr>
2003-12-29 07:42:41 +00:00

44 lines
1.2 KiB
Makefile

# 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 <bsd.port.mk>