aboutsummaryrefslogtreecommitdiff
path: root/japanese/kon2-16dot
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2013-02-17 11:49:50 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2013-02-17 11:49:50 +0000
commite91a5cfedee5f282761f03cc000db057085070f4 (patch)
treeb64188a3ba4cc9edaf1f540ad131bfe23007863d /japanese/kon2-16dot
parentd54a3133eb02bd39e586a061dbf0d6695d9b8a99 (diff)
downloadports-e91a5cfedee5f282761f03cc000db057085070f4.tar.gz
ports-e91a5cfedee5f282761f03cc000db057085070f4.zip
Notes
Diffstat (limited to 'japanese/kon2-16dot')
-rw-r--r--japanese/kon2-16dot/Makefile12
-rw-r--r--japanese/kon2-16dot/files/patch-kon.cfg.FreeBSD14
2 files changed, 11 insertions, 15 deletions
diff --git a/japanese/kon2-16dot/Makefile b/japanese/kon2-16dot/Makefile
index fd21d762cd28..60bea3c0988c 100644
--- a/japanese/kon2-16dot/Makefile
+++ b/japanese/kon2-16dot/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: kon2 with 16dot font
-# Date created: 11 Apr 1997
-# Whom: Makoto Matsushita <matusita@jp.freebsd.org>
-#
+# Created by: Makoto Matsushita <matusita@jp.freebsd.org>
# $FreeBSD$
-#
PORTNAME= kon2
PORTVERSION= 0.3
-PORTREVISION= 6
+PORTREVISION= 7
# '+=' is for slave ports
CATEGORIES+= japanese
MASTER_SITES= ${MASTER_SITE_PORTS_JP}
@@ -43,7 +39,7 @@ KON14FONT=Startup
@${FALSE}
.endif
-post-extract:
+post-patch:
cd ${WRKSRC} && \
${INSTALL_MAN} doc/kon.1 src/kon.1.in && \
${INSTALL_DATA} kon.cfg.FreeBSD kon.cfg.FreeBSD.in
@@ -68,7 +64,7 @@ post-configure:
post-install:
${INSTALL_MAN} ${WRKSRC}/src/kon.1 ${MANPREFIX}/man/ja/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/japanese/kon2-16dot/files/patch-kon.cfg.FreeBSD b/japanese/kon2-16dot/files/patch-kon.cfg.FreeBSD
index 5e1500dc835d..bdc23ae6594a 100644
--- a/japanese/kon2-16dot/files/patch-kon.cfg.FreeBSD
+++ b/japanese/kon2-16dot/files/patch-kon.cfg.FreeBSD
@@ -1,5 +1,5 @@
--- kon.cfg.FreeBSD.orig 1997-01-24 02:17:34.000000000 +0900
-+++ kon.cfg.FreeBSD 2012-05-10 00:14:28.042552343 +0900
++++ kon.cfg.FreeBSD 2013-02-17 09:42:05.000000000 +0900
@@ -114,9 +114,12 @@
63 63 63
@@ -7,12 +7,12 @@
-bdf-zcat:Startup
- gzip -cd /usr/local/lib/fonts/k14.bdf.gz | /usr/local/bin/fld -t bdf -n
- gzip -cd /usr/local/lib/fonts/7x14rk.bdf.gz | /usr/local/bin/fld -t bdf -n
-+bdf-zcat16:@@KON16FONT@@
-+ gzip -cd @@PREFIX@@/share/fonts/bdf/jiskan16.bdf.gz | /usr/local/bin/fld -t bdf -n
-+ gzip -cd @@PREFIX@@/share/fonts/bdf/8x16rk.bdf.gz | /usr/local/bin/fld -t bdf -n
-+bdf-zcat14:@@KON14FONT@@
-+ gzip -cd @@PREFIX@@/share/fonts/bdf/k14.bdf.gz | /usr/local/bin/fld -t bdf -n
-+ gzip -cd @@PREFIX@@/share/fonts/bdf/7x14rk.bdf.gz | /usr/local/bin/fld -t bdf -n
++bdf-zcat16:%%KON16FONT%%
++ gzip -cd %%PREFIX%%/share/fonts/bdf/jiskan16.bdf.gz | /usr/local/bin/fld -t bdf -n
++ gzip -cd %%PREFIX%%/share/fonts/bdf/8x16rk.bdf.gz | /usr/local/bin/fld -t bdf -n
++bdf-zcat14:%%KON14FONT%%
++ gzip -cd %%PREFIX%%/share/fonts/bdf/k14.bdf.gz | /usr/local/bin/fld -t bdf -n
++ gzip -cd %%PREFIX%%/share/fonts/bdf/7x14rk.bdf.gz | /usr/local/bin/fld -t bdf -n
minix:
/usr/bin/fld.minix -n /usr/share/fonts/publicfont.ank
/usr/bin/fld.minix -n /usr/share/fonts/publicfont.k14