- Update to 3.21

PR:		170154
Submitted by:	Port Fury
This commit is contained in:
Martin Wilke 2012-08-05 04:51:06 +00:00
parent 50e3a107a5
commit 2d8681b960
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302049
2 changed files with 16 additions and 17 deletions

View file

@ -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}

View file

@ -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