1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/lang/huc/Makefile
Ion-Mihai Tetcu f7e51fdbe1 - fix plist for -DNOPORTDOCS
- bump PORTREVISION

Prompted by:	QA Tindy run
2008-06-29 20:02:51 +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
PORTREVISION= 3
CATEGORIES= lang emulators
MASTER_SITES= http://www.zeograd.com/download/
DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/.//}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= PC Engine C compiler which can create ROMs (hucard) or CD images
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
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} ${PREFIX}/bin
.endfor
@${MKDIR} ${PREFIX}/include/${PORTNAME}
${TAR} -C ${WRKSRC}/include --exclude "CVS" -cf - . | \
${TAR} -C ${PREFIX}/include/${PORTNAME} --unlink -xf -
@${CHOWN} -R ${SHAREOWN} ${PREFIX}/include/${PORTNAME}
@${FIND} ${PREFIX}/include/${PORTNAME}/ -type f -exec ${CHMOD} \
${SHAREMODE} {} \;
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \
${TAR} -C ${DOCSDIR} --unlink -xf -
@${CHOWN} -R ${SHAREOWN} ${DOCSDIR}
@${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>