View | Details | Raw Unified | Return to bug 14404
Collapse All | Expand All

(-)japanese/k12/Makefile (-6 / +14 lines)
Lines 1-5 Link Here
1
# New ports collection makefile for:	k12font
1
# New ports collection makefile for:	k12font
2
# Version required:	1.0
2
# Version required:	1.1
3
# Date created:		24 June 1996
3
# Date created:		24 June 1996
4
# Whom:			Mita Yoshio <mita@jp.FreeBSD.org>
4
# Whom:			Mita Yoshio <mita@jp.FreeBSD.org>
5
#
5
#
Lines 7-25 Link Here
7
#
7
#
8
8
9
DISTNAME=	kaname_k12_bdf
9
DISTNAME=	kaname_k12_bdf
10
PKGNAME=	ja-kaname12-1.0
10
PKGNAME=	ja-kaname12-1.1
11
CATEGORIES=	japanese x11-fonts
11
CATEGORIES=	japanese x11-fonts
12
MASTER_SITES=	${MASTER_SITE_PORTS_JP}
12
MASTER_SITES=	${MASTER_SITE_PORTS_JP} \
13
		http://www.din.or.jp/~storm/fonts/
14
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} knm_new_linux.tar.gz
13
15
14
MAINTAINER=	mita@jp.FreeBSD.org
16
MAINTAINER=	mita@jp.FreeBSD.org
15
17
16
USE_X_PREFIX=	yes
18
USE_X_PREFIX=	yes
17
NO_WRKSUBDIR=	yes
19
20
WRKSRC=		${WRKDIR}/fonts
21
EXTRACT_ONLY=	knm_new_linux.tar.gz
18
22
19
FONTSDIR=	lib/X11/fonts/local
23
FONTSDIR=	lib/X11/fonts/local
20
MAKE_ENV=	FONTSDIR=${FONTSDIR}
24
MAKE_ENV=	FONTSDIR=${FONTSDIR}
21
PLIST_SUB=	FONTSDIR=${FONTSDIR}
25
PLIST_SUB=	FONTSDIR=${FONTSDIR}
22
26
27
post-extract:
28
	@${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
29
23
pre-install:
30
pre-install:
24
	@${SETENV} PKG_PREFIX=${PREFIX} \
31
	@${SETENV} PKG_PREFIX=${PREFIX} \
25
		${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
32
		${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
Lines 28-35 Link Here
28
	@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
35
	@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
29
.if !defined(NOPORTDOCS)
36
.if !defined(NOPORTDOCS)
30
	@${MKDIR} ${PREFIX}/share/doc/k12
37
	@${MKDIR} ${PREFIX}/share/doc/k12
31
	@${CP} ${WRKSRC}/readme.kaname_bdf ${PREFIX}/share/doc/k12
38
	@${INSTALL_DATA} ${WRKSRC}/readme            ${PREFIX}/share/doc/k12
32
	@${CP} ${WRKSRC}/doc.orig/*        ${PREFIX}/share/doc/k12
39
	@${INSTALL_DATA} ${WRKSRC}/readme.kaname_bdf ${PREFIX}/share/doc/k12
40
	@${INSTALL_DATA} ${WRKSRC}/doc.orig/*        ${PREFIX}/share/doc/k12
33
.endif
41
.endif
34
42
35
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)japanese/k12/files/md5 (+1 lines)
Line 1 Link Here
1
MD5 (kaname_k12_bdf.tar.gz) = e0a103ceeffe0aa1c5670458f47452b3
1
MD5 (kaname_k12_bdf.tar.gz) = e0a103ceeffe0aa1c5670458f47452b3
2
MD5 (knm_new_linux.tar.gz) = bc07cc6e93046ae4f53c3da3b49f5971
(-)japanese/k12/patches/patch-aa (-7 / +11 lines)
Lines 1-13 Link Here
1
*** /dev/null	Sat Jul  6 10:38:40 1996
1
*** /dev/null	Wed Oct 13 00:00:00 1999
2
--- Makefile	Sat Jul  6 12:25:35 1996
2
--- Makefile	Wed Oct 13 00:00:00 1999
3
***************
3
***************
4
*** 0 ****
4
*** 0 ****
5
--- 1,8 ----
5
--- 1,12 ----
6
+ all:
6
+ all:
7
+ 	bdftopcf knmhn12x.bdf > knmhn12x.pcf
7
+ 	bdftopcf knmhn12x.bdf > knmhn12x.pcf
8
+ 	bdftopcf knmzn12x.bdf > knmzn12x.pcf
8
+ 	gzip -9 -nf knmhn12x.pcf
9
+ 	gzip *.pcf
10
+ install:
9
+ install:
11
+ 	if [ ! -d ${PREFIX}/${FONTSDIR} ] ; then \
10
+ 	if [ ! -d ${PREFIX}/${FONTSDIR} ] ; then \
12
+ 	mkdir -p ${PREFIX}/X11R6/${FONTSDIR} ; fi
11
+ 	${MKDIR} ${PREFIX}/${FONTSDIR} ; fi
13
+ 	cp knmhn12x.pcf.gz knmzn12x.pcf.gz ${PREFIX}/${FONTSDIR}
12
+ 	${BSD_INSTALL_DATA} kaname-latin1.pcf.gz ${PREFIX}/${FONTSDIR}
13
+ 	${BSD_INSTALL_DATA} knm12p.pcf.gz ${PREFIX}/${FONTSDIR}
14
+ 	${BSD_INSTALL_DATA} knm12pb.pcf.gz ${PREFIX}/${FONTSDIR}
15
+ 	${BSD_INSTALL_DATA} knmhn12x.pcf.gz ${PREFIX}/${FONTSDIR}
16
+ 	${BSD_INSTALL_DATA} knmzn12x.pcf.gz ${PREFIX}/${FONTSDIR}
17
+ 	${BSD_INSTALL_DATA} knmzn12xb.pcf.gz ${PREFIX}/${FONTSDIR}
(-)japanese/k12/pkg/DESCR (-4 / +14 lines)
Lines 1-12 Link Here
1
Japanese 12 dot font named `kanamecho'.
1
Japanese 12 dot font named `kanamecho'.
2
kaname-latin1.pcf:-MNKANAME-Fixed-Medium-R-Normal--12-110-75-75-C-60-\
3
ISO8859-1
2
knmhn12x.pcf:-MNKANAME-Fixed-Medium-R-Normal--12-110-75-75-C-60-\
4
knmhn12x.pcf:-MNKANAME-Fixed-Medium-R-Normal--12-110-75-75-C-60-\
3
JISX0201.1976-0
5
JISX0201.1976-0
6
knm12p.pcf:-MNKANAME-Fixed-Medium-R-Normal--12-110-75-75-P-120-\
7
JISX0208.1983-0
8
knm12pb.pcf:-MNKANAME-Fixed-Bold-R-Normal--12-110-75-75-P-120-\
9
JISX0208.1983-0
4
knmzn12x.pcf:-MNKANAME-Fixed-Medium-R-Normal--12-110-75-75-C-120-\
10
knmzn12x.pcf:-MNKANAME-Fixed-Medium-R-Normal--12-110-75-75-C-120-\
5
JISX0208.1983-0
11
JISX0208.1983-0
12
knmzn12xb.pcf:-MNKANAME-Fixed-Bold-R-Normal--12-110-75-75-C-120-\
13
JISX0208.1983-0
6
14
7
You can also use 'k12' as an alias for knmzn12x.pcf,
15
You can also use 'k12' as an alias for knmzn12x.pcf, 'k12b' for knmzn12xb.pcf,
8
and 'r12' for knmhn12x.pcf.
16
'r12' for knmhn12x.pcf, and 'a12' for kaname-latin1.pcf.
9
17
10
Simple usage:
18
Simple usage:
11
	% kterm -fn r12 -fk k12 -fl r12
19
	% kterm -fn a12 -fk k12 -fl r12
12
	% mule -fn r12 
20
	% mule -fn r12
21
22
WWW: http://www.din.or.jp/~storm/fonts/
(-)japanese/k12/pkg/PLIST (+5 lines)
Lines 1-7 Link Here
1
%%FONTSDIR%%/kaname-latin1.pcf.gz
2
%%FONTSDIR%%/knm12p.pcf.gz
3
%%FONTSDIR%%/knm12pb.pcf.gz
1
%%FONTSDIR%%/knmhn12x.pcf.gz
4
%%FONTSDIR%%/knmhn12x.pcf.gz
2
%%FONTSDIR%%/knmzn12x.pcf.gz
5
%%FONTSDIR%%/knmzn12x.pcf.gz
6
%%FONTSDIR%%/knmzn12xb.pcf.gz
3
share/doc/k12/gijutsu-siryou.doc
7
share/doc/k12/gijutsu-siryou.doc
4
share/doc/k12/kaname.doc
8
share/doc/k12/kaname.doc
9
share/doc/k12/readme
5
share/doc/k12/readme.kaname_bdf
10
share/doc/k12/readme.kaname_bdf
6
share/doc/k12/readme.knm
11
share/doc/k12/readme.knm
7
@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
12
@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
(-)japanese/k12/pkg/REQ (+2 lines)
Lines 23-29 Link Here
23
TMPFILE=/tmp/install-fonts-alias-$$
23
TMPFILE=/tmp/install-fonts-alias-$$
24
cat << EOF > ${TMPFILE}
24
cat << EOF > ${TMPFILE}
25
k12 -mnkaname-fixed-medium-r-normal--12-110-75-75-c-120-jisx0208.1983-0
25
k12 -mnkaname-fixed-medium-r-normal--12-110-75-75-c-120-jisx0208.1983-0
26
k12b -mnkaname-fixed-bold-r-normal--12-110-75-75-c-120-jisx0208.1983-0
26
r12 -mnkaname-fixed-medium-r-normal--12-110-75-75-c-60-jisx0201.1976-0
27
r12 -mnkaname-fixed-medium-r-normal--12-110-75-75-c-60-jisx0201.1976-0
28
a12 -mnkaname-fixed-medium-r-normal--12-110-75-75-c-60-iso8859-1
27
EOF
29
EOF
28
30
29
echo "Updating ${FONTDIR}/fonts.alias"
31
echo "Updating ${FONTDIR}/fonts.alias"

Return to bug 14404