pkgsrc/misc/jhd/Makefile
rillig 2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00

21 lines
571 B
Makefile

# $NetBSD: Makefile,v 1.8 2007/01/07 09:14:01 rillig Exp $
DISTNAME= jhd-2.3
CATEGORIES= japanese misc
MASTER_SITES= ftp://ftp.iamas.ac.jp/pub1/UNIX/File/
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
COMMENT= Japanese Hexadecimal Dump
BUILD_DEPENDS+= nkf>=1.7:../../converters/nkf
INSTALLATION_DIRS= bin ${PKGMANDIR}/ja_JP.EUC/man1
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}/${PKGMANDIR}/ja_JP.EUC/man1
.include "../../mk/bsd.pkg.mk"