aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2013-02-17 19:49:50 +0800
committertota <tota@FreeBSD.org>2013-02-17 19:49:50 +0800
commit17f12baca95fa9104fef62e7fc1ee4a6d01dfb92 (patch)
treeb64188a3ba4cc9edaf1f540ad131bfe23007863d /japanese
parentddabe93924c0da93cb4c67ad49ded4e7a2f36b74 (diff)
downloadfreebsd-ports-gnome-17f12baca95fa9104fef62e7fc1ee4a6d01dfb92.tar.gz
freebsd-ports-gnome-17f12baca95fa9104fef62e7fc1ee4a6d01dfb92.tar.zst
freebsd-ports-gnome-17f12baca95fa9104fef62e7fc1ee4a6d01dfb92.zip
- Fix patching
- Trim Makefile header - Replace NOPORTDOCS with PORT_OPTIONS:MDOCS - Bump PORTREVISION PR: ports/175398 Submitted by: Tsurutani Naoki (maintainer)
Diffstat (limited to 'japanese')
-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