diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-17 04:58:17 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-17 04:58:17 +0000 |
commit | a0d8d646073e27a2895fdf237c1c4b5b80c5bd7a (patch) | |
tree | 07365caa11981250ab6c67ec7ba7a49d84bbdfd1 /japanese/jstrings | |
parent | 804b0c2dc15f57b5f5dd9ed22bf94e1893b267d2 (diff) |
Notes
Diffstat (limited to 'japanese/jstrings')
-rw-r--r-- | japanese/jstrings/Makefile | 7 | ||||
-rw-r--r-- | japanese/jstrings/files/patch-makefile.gcc | 12 |
2 files changed, 14 insertions, 5 deletions
diff --git a/japanese/jstrings/Makefile b/japanese/jstrings/Makefile index 8960c7f402e8..f9fc51d4180d 100644 --- a/japanese/jstrings/Makefile +++ b/japanese/jstrings/Makefile @@ -13,16 +13,13 @@ COMMENT= Japanese enhancement of strings(1) command EXTRACT_DEPENDS=nkf:${PORTSDIR}/japanese/nkf -MAN1= jstrings.1 -MANLANG= ja -PLIST_FILES= bin/jstrings +PLIST_FILES= bin/jstrings man/ja/man1/jstrings.1.gz USES= gmake lha MAKEFILE= makefile.gcc MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" BINDIR="${PREFIX}/bin" ALL_TARGET= jstrings -NO_STAGE= yes post-extract: @${ECHO_MSG} "===> Converting Kanji code and deleting CR for ${DISTNAME}" @(cd ${WRKSRC}; \ @@ -32,6 +29,6 @@ post-extract: done) post-install: - ${INSTALL_MAN} ${FILESDIR}/jstrings.1 ${PREFIX}/man/${MANLANG}/man1 + ${INSTALL_MAN} ${FILESDIR}/jstrings.1 ${STAGEDIR}${PREFIX}/man/ja/man1 .include <bsd.port.mk> diff --git a/japanese/jstrings/files/patch-makefile.gcc b/japanese/jstrings/files/patch-makefile.gcc new file mode 100644 index 000000000000..9a41ca51ff6e --- /dev/null +++ b/japanese/jstrings/files/patch-makefile.gcc @@ -0,0 +1,12 @@ +--- makefile.gcc.orig 2014-06-17 12:55:14.919735947 +0800 ++++ makefile.gcc 2014-06-17 12:55:31.502732890 +0800 +@@ -36,7 +36,7 @@ utilstr.o : utilstr.c utilstr.h + eucjp.o : eucjp.c eucjp.h jstrings.h vstr.h ascii.h jis.h + + install : $(TARGET) +- cp $(TARGET) $(BINDIR)/$(TARGET) +- strip $(BINDIR)/$(TARGET) ++ cp $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET) ++ strip $(DESTDIR)$(BINDIR)/$(TARGET) + echo "Copy jstrings.txt as man page if you need." + |