diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-08-05 04:51:06 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-08-05 04:51:06 +0000 |
commit | 2d8681b96032e4d517ac1e5b3eb94fa949ea1c7c (patch) | |
tree | 3755f253221b1ae5654395566ded62dad1adfc60 /lang/huc | |
parent | 50e3a107a53d8942ae17a4b65f08d401f6ccf11b (diff) | |
download | ports-2d8681b96032e4d517ac1e5b3eb94fa949ea1c7c.tar.gz ports-2d8681b96032e4d517ac1e5b3eb94fa949ea1c7c.zip |
Notes
Diffstat (limited to 'lang/huc')
-rw-r--r-- | lang/huc/Makefile | 29 | ||||
-rw-r--r-- | lang/huc/distinfo | 4 |
2 files changed, 16 insertions, 17 deletions
diff --git a/lang/huc/Makefile b/lang/huc/Makefile index 0d86831244cd..8bfcdfe4e263 100644 --- a/lang/huc/Makefile +++ b/lang/huc/Makefile @@ -6,37 +6,36 @@ # PORTNAME= huc -PORTVERSION= 3.20 -PORTREVISION= 3 +PORTVERSION= 3.21 +DISTVERSIONSUFFIX= -src 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} +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} - ${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) + @(cd ${WRKSRC}/include \ + && ${COPYTREE_SHARE} . ${PREFIX}/include/${PORTNAME}) +.if ${PORT_OPTIONS:MDOCS} @${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} {} \; + @(cd ${WRKSRC}/doc \ + && ${COPYTREE_SHARE} . ${DOCSDIR}) .endif @${CAT} ${PKGMESSAGE} diff --git a/lang/huc/distinfo b/lang/huc/distinfo index 31edd07028ad..33ddb054ff8d 100644 --- a/lang/huc/distinfo +++ b/lang/huc/distinfo @@ -1,2 +1,2 @@ -SHA256 (huc_src_320.tgz) = 93a4f9f68841cff0274751e8d7b1b49683a87e8ca0d3992e988793ee6fcef7b6 -SIZE (huc_src_320.tgz) = 294961 +SHA256 (huc-3.21-src.zip) = 304095ad89df973834c481030920019e4ad15eab585106ec7c24d123da7ae3a7 +SIZE (huc-3.21-src.zip) = 343344 |