diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-20 16:00:58 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-20 16:00:58 +0000 |
commit | 73e00b9a3f605c6991b8d91e92b0582af3e2476a (patch) | |
tree | eeed762c97bdea7716d4c7b6806d91ab696f4349 /lang/huc | |
parent | - Update to version 0.18 (diff) |
- Fix build on -current
PR: ports/63139
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=101513
Diffstat (limited to 'lang/huc')
-rw-r--r-- | lang/huc/Makefile | 34 | ||||
-rw-r--r-- | lang/huc/pkg-plist | 6 |
2 files changed, 18 insertions, 22 deletions
diff --git a/lang/huc/Makefile b/lang/huc/Makefile index 7b37e306473b..b4db8c4e27f2 100644 --- a/lang/huc/Makefile +++ b/lang/huc/Makefile @@ -10,35 +10,31 @@ PORTVERSION= 3.20 PORTREVISION= 1 CATEGORIES= lang emulators MASTER_SITES= http://www.zeograd.com/download/ -DISTNAME= huc_src_320 +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}/huc +WRKSRC= ${WRKDIR}/${PORTNAME} 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 +MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" 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: +.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} ${SHAREOWN}:${SHAREMODE} ${PREFIX}/include/${PORTNAME} .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${CP} -r ${WRKSRC}/doc/ ${PREFIX}/share/doc/${PORTNAME} + @${MKDIR} ${DOCSDIR} + ${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \ + ${TAR} -C ${DOCSDIR} --unlink -xf - + @${CHOWN} ${SHAREOWN}:${SHAREMODE} ${DOCSDIR} .endif - @${CAT} ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/lang/huc/pkg-plist b/lang/huc/pkg-plist index def122187e8f..0512806b7b77 100644 --- a/lang/huc/pkg-plist +++ b/lang/huc/pkg-plist @@ -33,8 +33,6 @@ include/huc/pce/startup.inc include/huc/pce/system.inc include/huc/pce/vdc.inc include/huc/overlay.h -@dirrm include/huc/pce -@dirrm include/huc %%DOCSDIR%%/huc/random.txt %%DOCSDIR%%/huc/clibref.txt %%DOCSDIR%%/huc/clibref_fr.htm @@ -60,7 +58,9 @@ include/huc/overlay.h %%DOCSDIR%%/pce/usage.txt %%DOCSDIR%%/pce/vce.txt %%DOCSDIR%%/pce/concepts.txt -@dirrm %%DOCSDIR%%/huc @dirrm %%DOCSDIR%%/pce @dirrm %%DOCSDIR%%/nes +@dirrm %%DOCSDIR%%/huc @dirrm %%DOCSDIR%% +@dirrm include/huc/pce +@dirrm include/huc |