Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2012 02:43:37 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170154: lang/huc: Update to version 3.21
Message-ID:  <20120726024337.0065a3560a0cd9c05aeb7a3c@yahoo.com>
Resent-Message-ID: <201207251810.q6PIADMQ060815@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170154
>Category:       ports
>Synopsis:       lang/huc: Update to version 3.21
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 25 18:10:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p9 i386
>Organization:
>Environment:
>Description:
- Update to version 3.21

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/lang/huc/Makefile lang/huc/Makefile
--- /usr/ports/lang/huc/Makefile	2008-06-30 05:02:51.000000000 +0900
+++ lang/huc/Makefile	2012-07-09 18:37:46.000000000 +0900
@@ -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 -urN /usr/ports/lang/huc/distinfo lang/huc/distinfo
--- /usr/ports/lang/huc/distinfo	2011-07-03 22:45:13.000000000 +0900
+++ lang/huc/distinfo	2012-07-09 18:32:53.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120726024337.0065a3560a0cd9c05aeb7a3c>