diff options
author | krion <krion@FreeBSD.org> | 2004-02-21 00:00:58 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-02-21 00:00:58 +0800 |
commit | 9982e2b2326d80bc832df5cc67a4b189875b1df6 (patch) | |
tree | cc6ca743f5b31abe759794ad02b02603165ad6d0 /lang/huc | |
parent | f980d07d36d7baf5e54f5db2d6260481489e5b3c (diff) | |
download | freebsd-ports-gnome-9982e2b2326d80bc832df5cc67a4b189875b1df6.tar.gz freebsd-ports-gnome-9982e2b2326d80bc832df5cc67a4b189875b1df6.tar.zst freebsd-ports-gnome-9982e2b2326d80bc832df5cc67a4b189875b1df6.zip |
- Fix build on -current
PR: ports/63139
Submitted by: Ports Fury
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 |