diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2019-12-30 04:49:27 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2019-12-30 04:49:27 +0000 |
commit | 69ec7effe00cc415ec4beb302115e9e10286c37b (patch) | |
tree | 3f42840ae7499d4359a563eba63d0ddddce7ecc8 /japanese | |
parent | - Add LICENSE. (diff) |
- Add LICENSE.
- Use FONTPATHSPEC.
- Use FONTSDIR consistently.
- Update MASTER_SITES.
Notes
Notes:
svn path=/head/; revision=521450
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/font-mona-ipa/Makefile | 39 | ||||
-rw-r--r-- | japanese/font-mona-ipa/pkg-plist | 143 |
2 files changed, 90 insertions, 92 deletions
diff --git a/japanese/font-mona-ipa/Makefile b/japanese/font-mona-ipa/Makefile index 5d5e4ff18925..125f064324db 100644 --- a/japanese/font-mona-ipa/Makefile +++ b/japanese/font-mona-ipa/Makefile @@ -1,45 +1,48 @@ # $FreeBSD$ -PORTNAME= mona-ipa +PORTNAME= mona PORTVERSION= 1.0.8 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= japanese x11-fonts -MASTER_SITES= http://www.geocities.jp/ipa_mona/ +MASTER_SITES= LOCAL/hrs PKGNAMEPREFIX= ja-font- +PKGNAMESUFFIX= -ipa DISTNAME= opfc-ModuleHP-1.1.1_withIPAMonaFonts-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= IPA Japanese TrueType fonts with Mona font -BROKEN= unfetchable +LICENSE= NOTPARTIAL +LICENSE_NAME= Whole not partial +LICENSE_TEXT= Free redistribution of the whole package allowed, not partial +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= fonts:fc -FONTNAME= TTF +FONTNAME= ${PORTNAME}${PKGNAMESUFFIX} +FONTPATHSPEC= ${FONTNAME}:pri=60 +FONTSDIR= ${PREFIX}/share/fonts/${FONTNAME}/fonts NO_ARCH= yes NO_BUILD= yes PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-install SUB_FILES= pkg-install -DATADIR= ${PREFIX}/share/font-${PORTNAME} +PLIST_SUB= FONTSDIR="${FONTSDIR:S,/fonts$,,}" PORTDOCS= COPYING.font.ja README_ipamona.txt OPTIONS_DEFINE= DOCS do-install: - ${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} - ${MKDIR} ${STAGEDIR}${FONTSDIR} - cd ${STAGEDIR}${FONTSDIR} && ${LN} -s -f \ - ../../../${DATADIR_REL}/fonts/ipa*-mona.ttf . - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ + @${MKDIR} ${STAGEDIR}${FONTSDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FONTSDIR}/.. + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d - ${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \ - ${FILESDIR}/62-fonts-${PORTNAME}.conf \ + ${INSTALL_DATA} ${FILESDIR}/20-unhint-${FONTNAME}.conf \ + ${FILESDIR}/62-fonts-${FONTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail - ${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \ - ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf - ${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \ - ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf + ${LN} -s -f ../conf.avail/20-unhint-${FONTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${FONTNAME}.conf + ${LN} -s -f ../conf.avail/62-fonts-${FONTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${FONTNAME}.conf post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/japanese/font-mona-ipa/pkg-plist b/japanese/font-mona-ipa/pkg-plist index 06b92e07901d..ce2f487bba54 100644 --- a/japanese/font-mona-ipa/pkg-plist +++ b/japanese/font-mona-ipa/pkg-plist @@ -1,78 +1,73 @@ -%%DATADIR%%/ppd/OPVP-HP-Color_LaserJet_5500.ppd -%%DATADIR%%/ppd/OPVP-HP-Color_LaserJet_4600.ppd -%%DATADIR%%/ppd/Makefile.in -%%DATADIR%%/ppd/Makefile.am -%%DATADIR%%/opvp/Makefile.in -%%DATADIR%%/opvp/Makefile.am -%%DATADIR%%/opvp/HPPageColor.c -%%DATADIR%%/opfc-ModuleHP.spec -%%DATADIR%%/mkinstalldirs -%%DATADIR%%/missing -%%DATADIR%%/ltmain.sh -%%DATADIR%%/libopvp/pdapi.h -%%DATADIR%%/libopvp/opvp_rpc_server.h -%%DATADIR%%/libopvp/opvp_rpc_server.c -%%DATADIR%%/libopvp/opvp_rpc_reqno.h -%%DATADIR%%/libopvp/opvp_rpc_core.h -%%DATADIR%%/libopvp/opvp_rpc_core.c -%%DATADIR%%/libopvp/opvp_driver.h -%%DATADIR%%/libopvp/opvp_common.h -%%DATADIR%%/libopvp/doc/rpc040223.pdf -%%DATADIR%%/libopvp/doc/Makefile.in -%%DATADIR%%/libopvp/doc/Makefile.am -%%DATADIR%%/libopvp/README.jp -%%DATADIR%%/libopvp/Makefile.in -%%DATADIR%%/libopvp/Makefile.am -%%DATADIR%%/libopvp/COPYING -%%DATADIR%%/install-sh -%%DATADIR%%/fonts/ipamp-mona.ttf -%%DATADIR%%/fonts/ipam-mona.ttf -%%DATADIR%%/fonts/ipagui-mona.ttf -%%DATADIR%%/fonts/ipagp-mona.ttf -%%DATADIR%%/fonts/ipag-mona.ttf -%%DATADIR%%/fonts/Makefile.in -%%DATADIR%%/fonts/Makefile.am -%%DATADIR%%/fonts/COPYING.font.ja -%%DATADIR%%/fonts/doc/sazanami/doc/shinonome/LICENSE -%%DATADIR%%/fonts/doc/sazanami/doc/oradano/README.txt -%%DATADIR%%/fonts/doc/sazanami/doc/mplus/LICENSE_J -%%DATADIR%%/fonts/doc/sazanami/doc/misaki/misakib8.txt -%%DATADIR%%/fonts/doc/sazanami/doc/kappa/README -%%DATADIR%%/fonts/doc/sazanami/doc/ayu/README.txt -%%DATADIR%%/fonts/doc/sazanami/README -%%DATADIR%%/fonts/doc/mplus/README_J -%%DATADIR%%/fonts/doc/mplus/README_E -%%DATADIR%%/fonts/doc/mplus/LICENSE_J -%%DATADIR%%/fonts/doc/mplus/LICENSE_E -%%DATADIR%%/fonts/doc/mona/README.euc -%%DATADIR%%/fonts/README_ipamona.txt -%%DATADIR%%/doc/ProjectOverview.pdf -%%DATADIR%%/doc/Makefile.in -%%DATADIR%%/doc/Makefile.am -%%DATADIR%%/depcomp -%%DATADIR%%/configure.in -%%DATADIR%%/configure -%%DATADIR%%/config.sub -%%DATADIR%%/config.h.in -%%DATADIR%%/config.guess -%%DATADIR%%/compile -%%DATADIR%%/aclocal.m4 -%%DATADIR%%/VERSION -%%DATADIR%%/README.jp -%%DATADIR%%/README -%%DATADIR%%/NEWS -%%DATADIR%%/Makefile.in -%%DATADIR%%/Makefile.am -%%DATADIR%%/INSTALL -%%DATADIR%%/ChangeLog -%%DATADIR%%/COPYING -%%DATADIR%%/AUTHORS +%%FONTSDIR%%/ppd/OPVP-HP-Color_LaserJet_5500.ppd +%%FONTSDIR%%/ppd/OPVP-HP-Color_LaserJet_4600.ppd +%%FONTSDIR%%/ppd/Makefile.in +%%FONTSDIR%%/ppd/Makefile.am +%%FONTSDIR%%/opvp/Makefile.in +%%FONTSDIR%%/opvp/Makefile.am +%%FONTSDIR%%/opvp/HPPageColor.c +%%FONTSDIR%%/opfc-ModuleHP.spec +%%FONTSDIR%%/mkinstalldirs +%%FONTSDIR%%/missing +%%FONTSDIR%%/ltmain.sh +%%FONTSDIR%%/libopvp/pdapi.h +%%FONTSDIR%%/libopvp/opvp_rpc_server.h +%%FONTSDIR%%/libopvp/opvp_rpc_server.c +%%FONTSDIR%%/libopvp/opvp_rpc_reqno.h +%%FONTSDIR%%/libopvp/opvp_rpc_core.h +%%FONTSDIR%%/libopvp/opvp_rpc_core.c +%%FONTSDIR%%/libopvp/opvp_driver.h +%%FONTSDIR%%/libopvp/opvp_common.h +%%FONTSDIR%%/libopvp/doc/rpc040223.pdf +%%FONTSDIR%%/libopvp/doc/Makefile.in +%%FONTSDIR%%/libopvp/doc/Makefile.am +%%FONTSDIR%%/libopvp/README.jp +%%FONTSDIR%%/libopvp/Makefile.in +%%FONTSDIR%%/libopvp/Makefile.am +%%FONTSDIR%%/libopvp/COPYING +%%FONTSDIR%%/install-sh +%%FONTSDIR%%/fonts/ipamp-mona.ttf +%%FONTSDIR%%/fonts/ipam-mona.ttf +%%FONTSDIR%%/fonts/ipagui-mona.ttf +%%FONTSDIR%%/fonts/ipagp-mona.ttf +%%FONTSDIR%%/fonts/ipag-mona.ttf +%%FONTSDIR%%/fonts/Makefile.in +%%FONTSDIR%%/fonts/Makefile.am +%%FONTSDIR%%/fonts/COPYING.font.ja +%%FONTSDIR%%/fonts/doc/sazanami/doc/shinonome/LICENSE +%%FONTSDIR%%/fonts/doc/sazanami/doc/oradano/README.txt +%%FONTSDIR%%/fonts/doc/sazanami/doc/mplus/LICENSE_J +%%FONTSDIR%%/fonts/doc/sazanami/doc/misaki/misakib8.txt +%%FONTSDIR%%/fonts/doc/sazanami/doc/kappa/README +%%FONTSDIR%%/fonts/doc/sazanami/doc/ayu/README.txt +%%FONTSDIR%%/fonts/doc/sazanami/README +%%FONTSDIR%%/fonts/doc/mplus/README_J +%%FONTSDIR%%/fonts/doc/mplus/README_E +%%FONTSDIR%%/fonts/doc/mplus/LICENSE_J +%%FONTSDIR%%/fonts/doc/mplus/LICENSE_E +%%FONTSDIR%%/fonts/doc/mona/README.euc +%%FONTSDIR%%/fonts/README_ipamona.txt +%%FONTSDIR%%/doc/ProjectOverview.pdf +%%FONTSDIR%%/doc/Makefile.in +%%FONTSDIR%%/doc/Makefile.am +%%FONTSDIR%%/depcomp +%%FONTSDIR%%/configure.in +%%FONTSDIR%%/configure +%%FONTSDIR%%/config.sub +%%FONTSDIR%%/config.h.in +%%FONTSDIR%%/config.guess +%%FONTSDIR%%/compile +%%FONTSDIR%%/aclocal.m4 +%%FONTSDIR%%/VERSION +%%FONTSDIR%%/README.jp +%%FONTSDIR%%/README +%%FONTSDIR%%/NEWS +%%FONTSDIR%%/Makefile.in +%%FONTSDIR%%/Makefile.am +%%FONTSDIR%%/INSTALL +%%FONTSDIR%%/ChangeLog +%%FONTSDIR%%/COPYING +%%FONTSDIR%%/AUTHORS etc/fonts/conf.avail/20-unhint-mona-ipa.conf etc/fonts/conf.avail/62-fonts-mona-ipa.conf etc/fonts/conf.d/20-unhint-mona-ipa.conf etc/fonts/conf.d/62-fonts-mona-ipa.conf -%%FONTSDIR%%/ipag-mona.ttf -%%FONTSDIR%%/ipagp-mona.ttf -%%FONTSDIR%%/ipagui-mona.ttf -%%FONTSDIR%%/ipam-mona.ttf -%%FONTSDIR%%/ipamp-mona.ttf |