aboutsummaryrefslogtreecommitdiff
path: root/japanese/kterm/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-21 00:06:51 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-21 00:06:51 +0000
commit0c0376da37393c54b2cfeb061612a35b9d2ab075 (patch)
tree11092d16866bd73c37fa21e21305ea6b50450d09 /japanese/kterm/Makefile
parentcd0bac1556edfe347f2c5bc0b6c52e2b4204a8fa (diff)
downloadports-0c0376da37393c54b2cfeb061612a35b9d2ab075.tar.gz
ports-0c0376da37393c54b2cfeb061612a35b9d2ab075.zip
Notes
Diffstat (limited to 'japanese/kterm/Makefile')
-rw-r--r--japanese/kterm/Makefile33
1 files changed, 19 insertions, 14 deletions
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index 914d713fe976..842a054bd40c 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: kterm
-# Date created: 18 November 1994
-# Whom: asami
+# Date created: 18 November 1994
+# Whom: asami
#
# $FreeBSD$
#
PORTNAME= kterm
PORTVERSION= 6.2.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= japanese x11
MASTER_SITES= ${MASTER_SITE_PORTS_JP:S/$/:wp_jp/} \
${MASTER_SITE_XCONTRIB} \
@@ -34,14 +34,19 @@ PATCHFILES= ${DISTNAME}.NFS-xauth.patch:nfs \
${DISTNAME}-jisx0213.patch.gz:jisx0213 \
${DISTNAME}-color16.patch.gz:color16 \
${DISTNAME}-termios-0.2.patch.gz:termios
-PATCH_DIST_STRIP= -p1
+PATCH_DIST_STRIP= -p1
USE_IMAKE= yes
USE_XPM= yes
+MANCOMPRESSED= no
+
MAN1= kterm.1
-MANCOMPRESSED= yes
+MANLANG= "" ja
+
+PLIST_FILES= bin/kterm lib/X11/app-defaults/KTerm
+PORTDOCS= README.kt README.wallpaper.ja
-DOCDIR= ${PREFIX}/share/doc/kterm
+NKFCMD= nkf
.if !defined(PACKAGE_BUILDING)
@@ -68,16 +73,16 @@ post-patch:
.endif
-post-install:
-# install japanese manual
+post-build:
@${MV} ${WRKSRC}/kterm.jman ${WRKSRC}/kterm.jman.jis
- @nkf -e -u ${WRKSRC}/kterm.jman.jis >${WRKSRC}/kterm.jman
- @${INSTALL_MAN} ${WRKSRC}/kterm.jman ${PREFIX}/man/ja/man1/kterm.1
- @${GZIP_CMD} ${PREFIX}/man/ja/man1/kterm.1
+ @${NKFCMD} -e -u ${WRKSRC}/kterm.jman.jis >${WRKSRC}/${MAN1}
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/ja/man1
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCDIR}
- @${INSTALL_DATA} ${WRKSRC}/README.kt ${DOCDIR}
- @${INSTALL_DATA} ${_DISTDIR}/README.wallpaper.ja ${DOCDIR}/README.wallpaper.ja
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.kt ${DOCSDIR}
+ ${INSTALL_DATA} ${_DISTDIR}/README.wallpaper.ja ${DOCSDIR}/README.wallpaper.ja
.endif
.include <bsd.port.mk>