diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-12-21 08:06:51 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-12-21 08:06:51 +0800 |
commit | 6eccaa64e70d0a76d973d5aae61accb9b593a90f (patch) | |
tree | 97e91d4c375732b2c403ea79ae0acaaf737fc6b6 /japanese | |
parent | 8237ce0a9b382487795ff65869880e176de84f69 (diff) | |
download | freebsd-ports-gnome-6eccaa64e70d0a76d973d5aae61accb9b593a90f.tar.gz freebsd-ports-gnome-6eccaa64e70d0a76d973d5aae61accb9b593a90f.tar.zst freebsd-ports-gnome-6eccaa64e70d0a76d973d5aae61accb9b593a90f.zip |
- Add a patch to use USE_POSIX_TERMIOS instead of hardcoded value (13)
- Use MANLANG, INSTALL_MAN, DOCSDIR, PLIST_FILES, general cleanup (me)
- Remove pkg-plist (me)
- Bump PORTREVISION (me)
PR: 90104
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/kterm/Makefile | 33 | ||||
-rw-r--r-- | japanese/kterm/files/patch-main.c | 12 | ||||
-rw-r--r-- | japanese/kterm/pkg-plist | 6 |
3 files changed, 31 insertions, 20 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> diff --git a/japanese/kterm/files/patch-main.c b/japanese/kterm/files/patch-main.c new file mode 100644 index 000000000000..0091f5283435 --- /dev/null +++ b/japanese/kterm/files/patch-main.c @@ -0,0 +1,12 @@ +--- main.c.orig Tue Dec 20 22:31:20 2005 ++++ main.c Tue Dec 20 22:35:22 2005 +@@ -237,7 +237,9 @@ + #endif + #else /* } !SYSV { */ /* BSD systems */ + #ifndef linux ++#ifndef USE_POSIX_TERMIOS + #include <sgtty.h> ++#endif + #endif + #include <sys/resource.h> + #define HAS_UTMP_UT_HOST diff --git a/japanese/kterm/pkg-plist b/japanese/kterm/pkg-plist deleted file mode 100644 index bfc5f2db0f6d..000000000000 --- a/japanese/kterm/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/kterm -lib/X11/app-defaults/KTerm -man/ja/man1/kterm.1.gz -share/doc/kterm/README.kt -share/doc/kterm/README.wallpaper.ja -@dirrm share/doc/kterm |