aboutsummaryrefslogtreecommitdiff
path: root/lang/huc/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-12-29 07:42:41 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-12-29 07:42:41 +0000
commit486a5d36cb11f558f319fe3d5f07a54a2f214922 (patch)
treeb99f83e5d17af7b390ef37815e5ce0165bab959d /lang/huc/Makefile
parentd351a6996806b23c708de932ee8b8d6388a86a7b (diff)
downloadports-486a5d36cb11f558f319fe3d5f07a54a2f214922.tar.gz
ports-486a5d36cb11f558f319fe3d5f07a54a2f214922.zip
Notes
Diffstat (limited to 'lang/huc/Makefile')
-rw-r--r--lang/huc/Makefile43
1 files changed, 43 insertions, 0 deletions
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 <bsd.port.mk>