blob: 03284904f194873ac82f236cd4624767324419b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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= 5
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>
|