From 6f300aa374f12f8a30eede39d14a7ee43fecdc24 Mon Sep 17 00:00:00 2001 From: Susumu Miwa Date: Sat, 2 Mar 2019 20:53:31 +0900 Subject: [PATCH] ttf-arphic-ukai: modify MASTER_SITE HOMEPAGE has download page. but all Download-link does not found. https://www.freedesktop.org/wiki/Software/CJKUnifonts/Download/ --- arphic-ukai-ttf/Makefile | 21 +++++++++------------ arphic-ukai-ttf/PLIST | 5 ++--- arphic-ukai-ttf/distinfo | 9 +++++---- 3 files changed, 16 insertions(+), 19 deletions(-) diff --git a/arphic-ukai-ttf/Makefile b/arphic-ukai-ttf/Makefile index 10f152e4d4..f4a3f72a79 100644 --- a/arphic-ukai-ttf/Makefile +++ b/arphic-ukai-ttf/Makefile @@ -1,10 +1,10 @@ # $NetBSD: Makefile,v 1.3 2013/04/19 11:27:28 othyro Exp $ # -DISTNAME= ttf-arphic-ukai_0.2.20080216.1.orig -PKGNAME= ${DISTNAME:S/ttf-arphic-ukai_/arphic-ukai-ttf-/:S/.orig//} +DISTNAME= ttf-arphic-ukai-0.2.20080216.1-6-any.pkg +PKGNAME= ${DISTNAME:S/ttf-arphic-ukai_/arphic-ukai-ttf-/:S/-any.pkg//} CATEGORIES= fonts chinese -MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/t/ttf-arphic-ukai/} +MASTER_SITES= http://ftp5.gwdg.de/pub/linux/archlinux/extra/os/x86_64/ MAINTAINER= ryoon@NetBSD.org HOMEPAGE= http://www.freedesktop.org/wiki/Software/CJKUnifonts @@ -17,26 +17,23 @@ USE_X11BASE= yes NO_CONFIGURE= yes NO_BUILD= yes USE_LANGUAGES= # none +EXTRACT_SUFX= .tar.xz DOCDIR= ${PREFIX}/share/doc/${PKGBASE} -INSTALLATION_DIRS= lib/X11/fonts/TTF \ - ${DOCDIR} - -FONTDIR= ${PREFIX}/lib/X11/fonts/TTF +INSTALLATION_DIRS= ${DOCDIR} ${FONTDIR} +FONTDIR= ${PREFIX}/share/fonts/X11/TTF FONTS_DIRS.ttf= ${FONTDIR} INSTALL_FONTS= ukai.ttc - -INSTALL_DOCS= FONTLOG \ - license/english/ARPHICPL.TXT +INSTALL_DOCS= COPYING do-install: .for f in ${INSTALL_FONTS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${FONTDIR} + ${INSTALL_DATA} ${WRKSRC}/usr/share/fonts/TTF/${f} ${DESTDIR}${FONTDIR} .endfor .for f in ${INSTALL_DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/usr/share/licenses/ttf-arphic-ukai/${f} ${DESTDIR}${DOCDIR} .endfor .include "../../mk/bsd.pkg.mk" diff --git a/arphic-ukai-ttf/PLIST b/arphic-ukai-ttf/PLIST index b6378895aa..8cbbc62f52 100644 --- a/arphic-ukai-ttf/PLIST +++ b/arphic-ukai-ttf/PLIST @@ -1,4 +1,3 @@ @comment $NetBSD: PLIST,v 1.1.1.1 2011/03/09 19:57:15 ryo-on Exp $ -lib/X11/fonts/TTF/ukai.ttc -share/doc/${PKGBASE}/ARPHICPL.TXT -share/doc/${PKGBASE}/FONTLOG +share/fonts/X11/TTF/ukai.ttc +share/doc/${PKGBASE}/COPYING diff --git a/arphic-ukai-ttf/distinfo b/arphic-ukai-ttf/distinfo index 3987695c81..98ad3218dd 100644 --- a/arphic-ukai-ttf/distinfo +++ b/arphic-ukai-ttf/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/03/09 19:57:15 ryo-on Exp $ +$NetBSD: distinfo,v 1.1.1.1 2011/03/09 19:57:15 ryo-on Exp $ -SHA1 (ttf-arphic-ukai_0.2.20080216.1.orig.tar.gz) = 70f9489e7e15241c13d7eb6496a38736b49024e6 -RMD160 (ttf-arphic-ukai_0.2.20080216.1.orig.tar.gz) = aed67dac981353703445556e9bc0d5223b93fea3 -Size (ttf-arphic-ukai_0.2.20080216.1.orig.tar.gz) = 10336387 bytes +SHA1 (ttf-arphic-ukai-0.2.20080216.1-6-any.pkg.tar.xz) = 18cd18751d6186c75affdf891b07024e0bff43ce +RMD160 (ttf-arphic-ukai-0.2.20080216.1-6-any.pkg.tar.xz) = 23525da050bc00da840937c607832daec2041ec1 +SHA512 (ttf-arphic-ukai-0.2.20080216.1-6-any.pkg.tar.xz) = 7972b91ca3b4fcdb65ed271defd52d22534f5dc1b7fe85ced5de785b6a5ec147c0fc8cdb97abe70c13718d649cf38fd74a7ee26f4834e70bd1b2893ac129327e +Size (ttf-arphic-ukai-0.2.20080216.1-6-any.pkg.tar.xz) = 7924756 bytes