mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
a0d8d64607
Approved by: portmgr@
35 lines
870 B
Makefile
35 lines
870 B
Makefile
# Created by: ryo
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jstrings
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= http://openmya.hacker.jp/hasegawa/jstrings/ \
|
|
http://devel.aquahill.net/ports/jstrings/ \
|
|
http://www.kokone.to/~ryo/lib/ports/jstrings/
|
|
|
|
MAINTAINER= ryo@aquahill.net
|
|
COMMENT= Japanese enhancement of strings(1) command
|
|
|
|
EXTRACT_DEPENDS=nkf:${PORTSDIR}/japanese/nkf
|
|
|
|
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
|
|
|
|
post-extract:
|
|
@${ECHO_MSG} "===> Converting Kanji code and deleting CR for ${DISTNAME}"
|
|
@(cd ${WRKSRC}; \
|
|
for i in *.c *.h *.txt makefile.* ; \
|
|
do \
|
|
nkf -de $$i > $$i.tmp && ${MV} $$i.tmp $$i; \
|
|
done)
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${FILESDIR}/jstrings.1 ${STAGEDIR}${PREFIX}/man/ja/man1
|
|
|
|
.include <bsd.port.mk>
|