1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/lang/huc/Makefile
2014-07-15 17:37:38 +00:00

33 lines
815 B
Makefile

# Created by: Frederic Cambus
# $FreeBSD$
PORTNAME= huc
PORTVERSION= 3.21
DISTVERSIONSUFFIX= -src
CATEGORIES= lang emulators
MASTER_SITES= http://www.zeograd.com/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= PC Engine C compiler which can create ROMs (hucard) or CD images
OPTIONS_DEFINE= DOCS
NO_WRKSUBDIR= yes
USES= gmake zip
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
do-install:
.for file in huc isolink nesasm pceas pcxtool
${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
(cd ${WRKSRC}/include \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/${PORTNAME})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>