Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2019 11:22:18 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517204 - head/japanese/font-cica
Message-ID:  <201911101122.xAABMIAQ033494@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Sun Nov 10 11:22:18 2019
New Revision: 517204
URL: https://svnweb.freebsd.org/changeset/ports/517204

Log:
  Update to 5.0.1 and unmark BROKEN.
  
  PR:		241825
  Reported by:	Tomoaki AOKI

Modified:
  head/japanese/font-cica/Makefile
  head/japanese/font-cica/distinfo

Modified: head/japanese/font-cica/Makefile
==============================================================================
--- head/japanese/font-cica/Makefile	Sun Nov 10 11:13:34 2019	(r517203)
+++ head/japanese/font-cica/Makefile	Sun Nov 10 11:22:18 2019	(r517204)
@@ -1,18 +1,16 @@
 # $FreeBSD$
 
 PORTNAME=	cica
-PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTVERSION=	5.0.1
+#PORTREVISION=	0
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	https://github.com/miiton/Cica/releases/download/v${PORTVERSION}/
 PKGNAMEPREFIX=	ja-font-
-DISTNAME=	Cica_v${PORTVERSION}
+DISTNAME=	Cica_v${DISTVERSION}_${OPT_EMOJI}_emoji
 
 MAINTAINER=	ume@FreeBSD.org
 COMMENT=	Cica Japanese monospaced fonts for programming
 
-BROKEN=		unfetchable
-
 USES=		fonts:fc zip
 FONTNAME=	cica
 NO_WRKSUBDIR=	yes
@@ -24,8 +22,18 @@ SUB_FILES=	pkg-install
 WRKSRC=		${WRKDIR}/${DISTNAME}
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EMOJI
+OPTIONS_DEFAULT=EMOJI
+EMOJI_DESC=	With Emoji
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEMOJI}
+OPT_EMOJI=	with
+.else
+OPT_EMOJI=	without
+.endif
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
@@ -43,5 +51,13 @@ post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
 		"! -name *\.ttf"
+
+makesums:
+	${MAKE} rmconfig
+	${MAKE} makesum OPTIONS_UNSET=EMOJI
+	${MV} distinfo .distinfo.without_emoji
+	${MAKE} makesum OPTIONS_SET=EMOJI
+	tail -2 .distinfo.without_emoji >> distinfo
+	${RM} .distinfo.without_emoji
 
 .include <bsd.port.mk>

Modified: head/japanese/font-cica/distinfo
==============================================================================
--- head/japanese/font-cica/distinfo	Sun Nov 10 11:13:34 2019	(r517203)
+++ head/japanese/font-cica/distinfo	Sun Nov 10 11:22:18 2019	(r517204)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1520950521
-SHA256 (Cica_v2.1.0.zip) = 6b1e4750a3c07995bbcfaadcec0be5ed73de26ca1dc2082dc712b296af35b59b
-SIZE (Cica_v2.1.0.zip) = 22571722
+TIMESTAMP = 1573384550
+SHA256 (Cica_v5.0.1_with_emoji.zip) = b61ae55fb1a4a98dd78e90fe68649bcfaabb20a5eaaffa57c246356890c6b0df
+SIZE (Cica_v5.0.1_with_emoji.zip) = 23619224
+SHA256 (Cica_v5.0.1_without_emoji.zip) = 609a34b6fdf3bedd1949a58717f347b82d041ebfb9cbcd977cf57b171cefa1cd
+SIZE (Cica_v5.0.1_without_emoji.zip) = 22665456



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