2003-12-29 07:42:41 +00:00
|
|
|
# Ports collection makefile for: huc
|
|
|
|
# Date created: 1 December 2003
|
|
|
|
# Whom: Frederic Cambus
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= huc
|
|
|
|
PORTVERSION= 3.20
|
2008-06-29 20:02:51 +00:00
|
|
|
PORTREVISION= 3
|
2003-12-29 07:42:41 +00:00
|
|
|
CATEGORIES= lang emulators
|
|
|
|
MASTER_SITES= http://www.zeograd.com/download/
|
2004-02-20 16:00:58 +00:00
|
|
|
DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/.//}
|
2003-12-29 07:42:41 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= PC Engine C compiler which can create ROMs (hucard) or CD images
|
|
|
|
|
2004-02-20 16:00:58 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2003-12-29 07:42:41 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2004-02-20 16:00:58 +00:00
|
|
|
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-12-29 07:42:41 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-02-20 16:00:58 +00:00
|
|
|
.for file in huc isolink nesasm pceas pcxtool
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/include/${PORTNAME}
|
|
|
|
${TAR} -C ${WRKSRC}/include --exclude "CVS" -cf - . | \
|
|
|
|
${TAR} -C ${PREFIX}/include/${PORTNAME} --unlink -xf -
|
2006-07-30 20:57:30 +00:00
|
|
|
@${CHOWN} -R ${SHAREOWN} ${PREFIX}/include/${PORTNAME}
|
|
|
|
@${FIND} ${PREFIX}/include/${PORTNAME}/ -type f -exec ${CHMOD} \
|
|
|
|
${SHAREMODE} {} \;
|
2003-12-29 07:42:41 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-20 16:00:58 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \
|
|
|
|
${TAR} -C ${DOCSDIR} --unlink -xf -
|
2006-07-30 20:57:30 +00:00
|
|
|
@${CHOWN} -R ${SHAREOWN} ${DOCSDIR}
|
|
|
|
@${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
|
2003-12-29 07:42:41 +00:00
|
|
|
.endif
|
2004-02-20 16:00:58 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2003-12-29 07:42:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|