freebsd-ports/japanese/jstrings/Makefile
Martin Wilke 0f92912af4 - Add new knob USE_LHA [1]
- Convert few ports to USE_LHA [1]
- Revert r303619 since CONFIGURE_ENV already sets CPPFLAGS and LDFLAGS by default. [2]

PR:		176187 [1]
		174790 [2]
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de> [1]
		Gerald Pfeifer <gerald@pfeifer.com> [2]
2013-03-07 17:08:13 +00:00

41 lines
962 B
Makefile

# New ports collection makefile for: jstrings
# Date created: 29 July 2004
# Whom: 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
MAN1= jstrings.1
MANLANG= ja
PLIST_FILES= bin/jstrings
USE_GMAKE= yes
USE_LHA= yes
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 ${PREFIX}/man/${MANLANG}/man1
.include <bsd.port.mk>