1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- Add LICENSE.

- Use FONTPATHSPEC.
- Use FONTSDIR consistently.
- Update MASTER_SITES.
This commit is contained in:
Hiroki Sato 2019-12-30 04:49:27 +00:00
parent 5a1f195883
commit 69ec7effe0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521450
2 changed files with 90 additions and 92 deletions

View File

@ -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}

View File

@ -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