aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-18 04:47:31 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-18 04:47:31 +0000
commitfa1320cc5fbe7907c7c6b50d70f8dd47546b82d8 (patch)
tree285ce81ec656c3715f4f050eca178667f9b8747c /japanese
parentd2ff3920b864db822f0b8b79edd53f5fd366602c (diff)
downloadports-fa1320cc5fbe7907c7c6b50d70f8dd47546b82d8.tar.gz
ports-fa1320cc5fbe7907c7c6b50d70f8dd47546b82d8.zip
fix about italic font aliases.
PR: 51475 Submitted by: MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
Notes
Notes: svn path=/head/; revision=83226
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kappa20/Makefile4
-rw-r--r--japanese/kappa20/files/Makefile.in3
2 files changed, 2 insertions, 5 deletions
diff --git a/japanese/kappa20/Makefile b/japanese/kappa20/Makefile
index 2d4fdac1e111..04d4ead842a5 100644
--- a/japanese/kappa20/Makefile
+++ b/japanese/kappa20/Makefile
@@ -36,10 +36,6 @@ post-extract:
(cd ${WRKSRC} ; ${MV} Makefile Makefile.dist)
${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
-pre-install:
- @${SETENV} PKG_PREFIX=${PREFIX} \
- ${SH} ${PKGREQ} ${PKGNAME} INSTALL
-
post-install:
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.if !defined(NOPORTDOCS)
diff --git a/japanese/kappa20/files/Makefile.in b/japanese/kappa20/files/Makefile.in
index 695c4c47e5b4..97a7ae9da5dd 100644
--- a/japanese/kappa20/files/Makefile.in
+++ b/japanese/kappa20/files/Makefile.in
@@ -46,7 +46,8 @@ nk20b-1.bdf: k20b.bdf newjis.diff
fonts.alias: Makefile.dist
${SED} -n '/^.*echo \(.*\) >>.*$$/ s//\1/p' $> > $@
- egrep -iv '^(-kappa-[^ ]*--20-|(v?k|a|r)20[mb][ ]|(ipa-)?10x20[mb][ ]|10x20(rk|L[2-9])[mb][ ])' ${PREFIX}/${FONTSDIR}/fonts.alias >> fonts.alias || true
+ ${SED} -n '/^.*echo \(.*\) >>.*$$/ s//\1/p' $> | ${SED} 's/-r-/-i-/g;s/\(^[^-][^ ]*\) /\1i /' >> $@
+ egrep -iv '^(-kappa-[^ ]*--20-|(v?k|a|r)20[mb]i?[ ]|(ipa-)?10x20[mb]i?[ ]|10x20(rk|L[2-9])[mb]i?[ ])' ${PREFIX}/${FONTSDIR}/fonts.alias >> fonts.alias || true
install:
mkdir -p ${PREFIX}/${FONTSDIR}