freebsd-ports/japanese/man/Makefile
Jun Kuriyama b0d00b0ab7 Make this port LOCALBASE clean.
Submitted by:	Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
PR:		ports/34903
2002-02-21 00:54:24 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: jman - japanese man with EUC
# Date created: 4 December 1996
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $FreeBSD$
#
PORTNAME= man
PORTVERSION= 1.1j
PORTREVISION= 4
CATEGORIES= japanese
MASTER_SITES= ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/man-jp/ \
${MASTER_SITE_PORTS_JP}
DISTNAME= jp-${PORTNAME}-${PORTVERSION}
PATCH_SITES= ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/man-jp/
PATCHFILES= jp-man-1.1j-ex-20020115.patch
PATCH_DIST_STRIP=-p1
MAINTAINER= kuriyama@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/bin/groff:${PORTSDIR}/japanese/groff \
jless:${PORTSDIR}/japanese/less
MAKE_ENV= GZCAT=${GZCAT} GZIP_CMD="${GZIP_CMD}"
MANLANG= "" ja
MAN1= jman.1 jmanpath.1 japropos.1 \
jwhatis.1 jmakewhatis.1 jcatman.1
MAN8= jmakewhatis.local.8 jcatman.local.8
MANCOMPRESSED= yes
post-patch:
.for file in apropos/apropos.sh catman/catman.perl \
makewhatis/jmakewhatis.local.man \
makewhatis/jmakewhatis.local.man.eng \
makewhatis/makewhatis.local.sh \
man/locale.c manpath/manpath.config
${PERL} -pi -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${file}
.endfor
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.include <bsd.port.mk>