pkgsrc/japanese/jhd/Makefile
hubertf e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00

20 lines
562 B
Makefile

# $NetBSD: Makefile,v 1.5 2001/03/27 03:20:02 hubertf Exp $
# FreeBSD Id: Makefile,v 1.2 1999/05/01 04:00:25 taoka Exp $
DISTNAME= jhd-2.3
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.iamas.ac.jp/pub1/UNIX/File/
MAINTAINER= tech-pkg-ja@jp.netbsd.org
COMMENT= Japanese Hexdecimal Dump
BUILD_DEPENDS= nkf-1.7:../../japanese/nkf
post-build:
@(cd ${WRKSRC}; ${MV} jhd.1 jhd.1.org; nkf -e jhd.1.org > jhd.1)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jhd ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/jhd.1 ${PREFIX}/man/ja_JP.EUC/man1
.include "../../mk/bsd.pkg.mk"