mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Stagify.
Approved by: portmgr@
This commit is contained in:
parent
804b0c2dc1
commit
a0d8d64607
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358068
@ -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>
|
||||
|
12
japanese/jstrings/files/patch-makefile.gcc
Normal file
12
japanese/jstrings/files/patch-makefile.gcc
Normal file
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user