Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 04:51:06 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302049 - head/lang/huc
Message-ID:  <201208050451.q754p6pi036861@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Aug  5 04:51:06 2012
New Revision: 302049
URL: http://svn.freebsd.org/changeset/ports/302049

Log:
  - Update to 3.21
  
  PR:		170154
  Submitted by:	Port Fury

Modified:
  head/lang/huc/Makefile   (contents, props changed)
  head/lang/huc/distinfo   (contents, props changed)

Modified: head/lang/huc/Makefile
==============================================================================
--- head/lang/huc/Makefile	Sun Aug  5 04:47:29 2012	(r302048)
+++ head/lang/huc/Makefile	Sun Aug  5 04:51:06 2012	(r302049)
@@ -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}
 

Modified: head/lang/huc/distinfo
==============================================================================
--- head/lang/huc/distinfo	Sun Aug  5 04:47:29 2012	(r302048)
+++ head/lang/huc/distinfo	Sun Aug  5 04:51:06 2012	(r302049)
@@ -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



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