From 50adfbfe914d0ea2fcce1915de3645dbc83f8672 Mon Sep 17 00:00:00 2001 From: Susumu Miwa Date: Sat, 2 Mar 2019 21:34:02 +0900 Subject: [PATCH] ttf-arphic-uming: modify MASTER_SITE HOMEPAGE has download page. but all Download-link does not found. https://www.freedesktop.org/wiki/Software/CJKUnifonts/Download/ --- arphic-uming-ttf/Makefile | 20 +++++++++----------- arphic-uming-ttf/PLIST | 5 ++--- arphic-uming-ttf/distinfo | 7 ++++--- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/arphic-uming-ttf/Makefile b/arphic-uming-ttf/Makefile index 63584b9339..d1cac688be 100644 --- a/arphic-uming-ttf/Makefile +++ b/arphic-uming-ttf/Makefile @@ -1,10 +1,10 @@ # $NetBSD: Makefile,v 1.3 2013/04/19 11:30:15 othyro Exp $ # -DISTNAME= ttf-arphic-uming_0.2.20080216.1.orig -PKGNAME= ${DISTNAME:S/ttf-arphic-uming_/arphic-uming-ttf-/:S/.orig//} +DISTNAME= ttf-arphic-uming-0.2.20080216.1-6-any.pkg +PKGNAME= ${DISTNAME:S/ttf-arphic-uming_/arphic-uming-ttf-/:S/-any.pkg//} CATEGORIES= fonts chinese -MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/t/ttf-arphic-uming/} +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,24 @@ 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= uming.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-uming/${f} ${DESTDIR}${DOCDIR} .endfor .include "../../mk/bsd.pkg.mk" diff --git a/arphic-uming-ttf/PLIST b/arphic-uming-ttf/PLIST index 6029150823..8bd2369927 100644 --- a/arphic-uming-ttf/PLIST +++ b/arphic-uming-ttf/PLIST @@ -1,4 +1,3 @@ @comment $NetBSD: PLIST,v 1.1.1.1 2011/03/09 19:57:56 ryo-on Exp $ -lib/X11/fonts/TTF/uming.ttc -share/doc/${PKGBASE}/ARPHICPL.TXT -share/doc/${PKGBASE}/FONTLOG +share/fonts/X11/TTF/uming.ttc +share/doc/${PKGBASE}/COPYING diff --git a/arphic-uming-ttf/distinfo b/arphic-uming-ttf/distinfo index abdfaaf45b..4a4b804759 100644 --- a/arphic-uming-ttf/distinfo +++ b/arphic-uming-ttf/distinfo @@ -1,5 +1,6 @@ $NetBSD: distinfo,v 1.1.1.1 2011/03/09 19:57:56 ryo-on Exp $ -SHA1 (ttf-arphic-uming_0.2.20080216.1.orig.tar.gz) = d6b11cc84142364c66d17a0f02fdffbc1b98cedf -RMD160 (ttf-arphic-uming_0.2.20080216.1.orig.tar.gz) = 242f9a1ef2671c222401d4374b6a792327329aeb -Size (ttf-arphic-uming_0.2.20080216.1.orig.tar.gz) = 10684442 bytes +SHA1 (ttf-arphic-uming-0.2.20080216.1-6-any.pkg.tar.xz) = 180af8a6100d6d9db2cb8e8bda5b517051e8dcd3 +RMD160 (ttf-arphic-uming-0.2.20080216.1-6-any.pkg.tar.xz) = fd0d28f8c1dd7f9c794bb6a8ddcc5cbfc61871a8 +SHA512 (ttf-arphic-uming-0.2.20080216.1-6-any.pkg.tar.xz) = bafbf0b3f19821c24dfbf35699e64afcb764daffa16588360025d44b7cc280ceb02b682a7ff4f87b3690b30205b2fa9c9a53870c19947b0e9071c8be806b95f1 +Size (ttf-arphic-uming-0.2.20080216.1-6-any.pkg.tar.xz) = 7537184 bytes