diff options
author | hrs <hrs@FreeBSD.org> | 2015-09-13 04:19:43 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2015-09-13 04:19:43 +0800 |
commit | 7801227ddee1795f06320d577e1542757620bb49 (patch) | |
tree | b745027c9bac10bd0a5266ac759dde8166a3f2df /japanese/font-mona-ipa | |
parent | d21ed9ffccab722430e33b35abeb13fb1cc7755b (diff) | |
download | freebsd-ports-gnome-7801227ddee1795f06320d577e1542757620bb49.tar.gz freebsd-ports-gnome-7801227ddee1795f06320d577e1542757620bb49.tar.zst freebsd-ports-gnome-7801227ddee1795f06320d577e1542757620bb49.zip |
- Fix FONTSDIR.
- Use post-install-DOCS-on.
Diffstat (limited to 'japanese/font-mona-ipa')
-rw-r--r-- | japanese/font-mona-ipa/Makefile | 5 | ||||
-rw-r--r-- | japanese/font-mona-ipa/files/pkg-install.in | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/japanese/font-mona-ipa/Makefile b/japanese/font-mona-ipa/Makefile index 1fc684fd1d30..6fc4fce1ec34 100644 --- a/japanese/font-mona-ipa/Makefile +++ b/japanese/font-mona-ipa/Makefile @@ -2,7 +2,7 @@ PORTNAME= mona-ipa PORTVERSION= 1.0.8 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= japanese x11-fonts MASTER_SITES= http://www.geocities.jp/ipa_mona/ PKGNAMEPREFIX= ja-font- @@ -20,6 +20,7 @@ DATADIR= ${PREFIX}/share/font-${PORTNAME} PORTDOCS= COPYING.font.ja README_ipamona.txt OPTIONS_DEFINE= DOCS +FONTNAME= TTF do-install: ${MKDIR} ${STAGEDIR}${DATADIR} @@ -37,6 +38,8 @@ do-install: ${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf ${MKDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: cd ${WRKSRC}/fonts && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/japanese/font-mona-ipa/files/pkg-install.in b/japanese/font-mona-ipa/files/pkg-install.in index e59d67675c5c..a0d647a5cc16 100644 --- a/japanese/font-mona-ipa/files/pkg-install.in +++ b/japanese/font-mona-ipa/files/pkg-install.in @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD$ -FONTSDIR=%%FONTSDIR%%/TTF +FONTSDIR=%%FONTSDIR%% catfontsdir () { |