summaryrefslogtreecommitdiff
path: root/japanese/k10/files
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2002-01-20 23:14:24 +0000
committerSADA Kenji <sada@FreeBSD.org>2002-01-20 23:14:24 +0000
commite72e92318b22bf31c929c711dec3030c4a112035 (patch)
treea5d4644092babdacd3ec5eecbdc901723f4d3971 /japanese/k10/files
parentUpdate Thierry Thomas' e-mail address. (diff)
Add bold|italic style using mkbold|mkitalic scripts (x11-fonts/mkbold|mkitalic)
Submitted by: KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp> [ports-jp 12152]
Diffstat (limited to 'japanese/k10/files')
-rw-r--r--japanese/k10/files/Makefile.in32
-rw-r--r--japanese/k10/files/patch-aa17
-rw-r--r--japanese/k10/files/patch-ab8
3 files changed, 32 insertions, 25 deletions
diff --git a/japanese/k10/files/Makefile.in b/japanese/k10/files/Makefile.in
new file mode 100644
index 000000000000..c5d32ecf30be
--- /dev/null
+++ b/japanese/k10/files/Makefile.in
@@ -0,0 +1,32 @@
+GZIP_CMD?= gzip
+MKBOLD_CMD?= mkbold
+MKITALIC_CMD?= mkitalic
+
+DIST_ALL= 5x10B.bdf 5x10a.bdf 5x10rk.bdf knj10.bdf knj10B.bdf
+
+DIST_NOBOLD= 5x10rk.bdf
+MADE_BOLD= ${DIST_NOBOLD:S/.bdf/b.bdf/g}
+
+DIST_NOITALIC= ${DIST_ALL} ${MADE_BOLD}
+MADE_ITALIC= ${DIST_NOITALIC:S/.bdf/i.bdf/g}
+
+BDF_ALL= ${DIST_ALL} ${MADE_BOLD} ${MADE_ITALIC}
+PCF_ALL= ${BDF_ALL:S/.bdf/.pcf.gz/g}
+
+all: ${PCF_ALL}
+
+${MADE_BOLD}: ${.TARGET:S/b.bdf/.bdf/}
+ ${MKBOLD_CMD} $> > $@
+
+${MADE_ITALIC}: ${.TARGET:S/i.bdf/.bdf/}
+ ${MKITALIC_CMD} $> > $@
+
+${PCF_ALL}: ${.TARGET:S/.pcf.gz/.bdf/}
+ bdftopcf $> | ${GZIP_CMD} -c > $@
+
+install:
+ mkdir -p ${PREFIX}/${FONTSDIR}
+ ${BSD_INSTALL_DATA} ${PCF_ALL} ${PREFIX}/${FONTSDIR}
+
+clean::
+ rm ${MADE_BOLD} ${MADE_ITALIC} ${PCF_ALL}
diff --git a/japanese/k10/files/patch-aa b/japanese/k10/files/patch-aa
deleted file mode 100644
index c11e4993979d..000000000000
--- a/japanese/k10/files/patch-aa
+++ /dev/null
@@ -1,17 +0,0 @@
---- /dev/null Fri Jan 7 00:00:00 2000
-+++ Makefile Fri Jan 7 00:00:00 2000
-@@ -0,0 +1,14 @@
-+all:
-+ bdftopcf 5x10B.bdf | gzip -c > 5x10B.pcf.gz
-+ bdftopcf 5x10a.bdf | gzip -c > 5x10a.pcf.gz
-+ bdftopcf 5x10rk.bdf | gzip -c > 5x10rk.pcf.gz
-+ bdftopcf knj10.bdf | gzip -c > knj10.pcf.gz
-+ bdftopcf knj10B.bdf | gzip -c > knj10B.pcf.gz
-+
-+install:
-+ mkdir -p ${PREFIX}/lib/X11/fonts/misc
-+ ${BSD_INSTALL_DATA} 5x10B.pcf.gz ${PREFIX}/${FONTSDIR}
-+ ${BSD_INSTALL_DATA} 5x10a.pcf.gz ${PREFIX}/${FONTSDIR}
-+ ${BSD_INSTALL_DATA} 5x10rk.pcf.gz ${PREFIX}/${FONTSDIR}
-+ ${BSD_INSTALL_DATA} knj10.pcf.gz ${PREFIX}/${FONTSDIR}
-+ ${BSD_INSTALL_DATA} knj10B.pcf.gz ${PREFIX}/${FONTSDIR}
diff --git a/japanese/k10/files/patch-ab b/japanese/k10/files/patch-ab
deleted file mode 100644
index 9dd2d4a044ce..000000000000
--- a/japanese/k10/files/patch-ab
+++ /dev/null
@@ -1,8 +0,0 @@
---- /dev/null Wed Feb 25 11:48:19 1998
-+++ fonts.alias.naga10 Wed Feb 25 11:48:16 1998
-@@ -0,0 +1,5 @@
-+k10 -misc-fixed-medium-r-normal--10-90-75-75-c-100-jisx0208.1983-0
-+k10b -misc-fixed-bold-r-normal--10-90-75-75-c-100-jisx0208.1983-0
-+a10 -misc-fixed-medium-r-normal--10-90-75-75-c-50-iso8859-1
-+a10b -misc-fixed-bold-r-normal--10-90-75-75-c-50-iso8859-1
-+r10 -misc-fixed-medium-r-normal--10-90-75-75-c-50-jisx0201.1976-0