diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2015-09-12 23:19:38 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2015-09-12 23:19:38 +0000 |
commit | 72eb99b0deb12b7c59b3be99e241dc2dca451138 (patch) | |
tree | fec722c5e7fed27161e40af582cb7685cf209c2b | |
parent | 2fd3d09ba10679ded6a28afa396017500b929fa8 (diff) |
Fix fonts.dir. It was totally broken since r381876.
Notes
Notes:
svn path=/head/; revision=396787
-rw-r--r-- | japanese/font-ipaex/Makefile | 6 | ||||
-rw-r--r-- | japanese/font-ipaex/files/pkg-install.in | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/japanese/font-ipaex/Makefile b/japanese/font-ipaex/Makefile index 8a000394df9e..0bf6991d6cc2 100644 --- a/japanese/font-ipaex/Makefile +++ b/japanese/font-ipaex/Makefile @@ -2,7 +2,7 @@ PORTNAME= ipaex PORTVERSION= 00201 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= japanese x11-fonts MASTER_SITES= http://info.openlab.ipa.go.jp/ipafont/fontdata/7bf84182a04a9632268dbcb03f100d05/ PKGNAMEPREFIX= ja-font- @@ -26,8 +26,6 @@ FONTNAME= OTF OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-extract: cd ${WRKSRC} && for F in *.ttf; do ${MV} $${F} $${F%.ttf}.otf; done @@ -45,6 +43,8 @@ do-install: ${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 + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/japanese/font-ipaex/files/pkg-install.in b/japanese/font-ipaex/files/pkg-install.in index 5a04cd09d272..051a9a370f04 100644 --- a/japanese/font-ipaex/files/pkg-install.in +++ b/japanese/font-ipaex/files/pkg-install.in @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD$ -FONTSDIR=%%FONTSDIR%%/OTF +FONTSDIR=%%FONTSDIR%% catfontsdir () { @@ -76,7 +76,7 @@ nfonts () case "$2" in POST-INSTALL) - cd ${FONTSDIR} + cd %%FONTSDIR%% touch fonts.dir (catfontsdir < fonts.dir; addentries) > fonts.dir.tmp nfonts < fonts.dir.tmp > fonts.dir @@ -84,7 +84,7 @@ POST-INSTALL) rm -f fonts.dir.tmp ;; POST-DEINSTALL) - cd ${FONTSDIR} + cd %%FONTSDIR%% catfontsdir < fonts.dir > fonts.dir.tmp nfonts < fonts.dir.tmp > fonts.dir cat fonts.dir.tmp >> fonts.dir |