head	1.7;
access;
symbols
	RELEASE_8_3_0:1.5
	RELEASE_9_0_0:1.5
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3;
locks; strict;
comment	@# @;


1.7
date	2012.11.17.05.58.51;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2012.08.05.04.51.06;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2008.06.29.20.02.51;	author itetcu;	state Exp;
branches;
next	1.4;

1.4
date	2006.07.30.20.57.30;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.20.16.00.58;	author krion;	state Exp;
branches;
next	1.2;

1.2
date	2004.02.04.05.21.38;	author marcus;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.29.07.42.41;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Switch exporter over
@
text
@# Ports collection makefile for:	huc
# Date created:			1 December 2003
# Whom:				Frederic Cambus
#
# $FreeBSD: head/lang/huc/Makefile 302049 2012-08-05 04:51:06Z miwi $
#

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

USE_ZIP=	yes
USE_GMAKE=	yes
MAKE_ARGS=	CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_JOBS_SAFE=	yes

.include <bsd.port.options.mk>

do-install:
.for file in huc isolink nesasm pceas pcxtool
	${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin
.endfor
	@@${MKDIR} ${PREFIX}/include/${PORTNAME}
	@@(cd ${WRKSRC}/include \
		&& ${COPYTREE_SHARE} . ${PREFIX}/include/${PORTNAME})
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	@@(cd ${WRKSRC}/doc \
		&& ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.6
log
@SVN rev 302049 on 2012-08-05 04:51:06Z by miwi

- Update to 3.21

PR:		170154
Submitted by:	Port Fury
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@- fix plist for -DNOPORTDOCS
- bump PORTREVISION

Prompted by:	QA Tindy run
@
text
@d9 2
a10 2
PORTVERSION=	3.20
PORTREVISION=	3
a12 2
DISTNAME=	${PORTNAME}_src_${PORTVERSION:S/.//}
EXTRACT_SUFX=	.tgz
d17 1
a17 1
WRKSRC=		${WRKDIR}/${PORTNAME}
d19 3
d24 3
d33 3
a35 6
	${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)
d37 2
a38 4
	${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \
		${TAR} -C ${DOCSDIR} --unlink -xf -
	@@${CHOWN} -R ${SHAREOWN} ${DOCSDIR}
	@@${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
@


1.4
log
@- Fix file permissions

PR:		ports/100960
Submitted by:	Stanislav Sedov <ssedov(at)mbsd.msk.ru>
Approved by:	krion (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.3
log
@- Fix build on -current

PR:		ports/63139
Submitted by:	Ports Fury
@
text
@d10 1
a10 1
PORTREVISION=	1
d31 3
a33 1
	@@${CHOWN} ${SHAREOWN}:${SHAREMODE} ${PREFIX}/include/${PORTNAME}
d38 2
a39 1
	@@${CHOWN} ${SHAREOWN}:${SHAREMODE} ${DOCSDIR}
@


1.2
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d13 1
a13 1
DISTNAME=	huc_src_320
d19 1
a19 1
WRKSRC=		${WRKDIR}/huc
d22 1
a22 5

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
d25 7
a31 9
		${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:
d33 4
a36 2
		@@${MKDIR} ${DOCSDIR}
		@@${CP} -r ${WRKSRC}/doc/ ${PREFIX}/share/doc/${PORTNAME}
d38 1
a38 1
	        @@${CAT} ${PKGMESSAGE}
@


1.1
log
@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>
@
text
@d10 1
@

