aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/man/Makefile
blob: 4c508545585d4f1f7e883a902fc8b467eb0811a2 (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
# Created by: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
# $FreeBSD$

PORTNAME=   man
PORTVERSION=    1.1j
PORTREVISION=   9
CATEGORIES= japanese
MASTER_SITES=   ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/man-jp/ \
        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= ports@FreeBSD.org
COMMENT=    Manual display command for Japanese (EUC)

LICENSE=    GPLv2

RUN_DEPENDS=    ${LOCALBASE}/bin/groff:japanese/groff \
        jless:japanese/less

BROKEN_aarch64=     fails to compile: man.c:37:10: fatal error: 'config.h' file not found
BROKEN_armv6=       fails to compile: man.c:37:10: fatal error: 'config.h' file not found
BROKEN_armv7=       fails to compile: man.c:37:10: fatal error: 'config.h' file not found
BROKEN_mips=        fails to compile: man.c:37:10: fatal error: 'config.h' file not found

MAKE_ENV=   GZCAT=${GZCAT} GZIP_CMD="${GZIP_CMD}"
USES=       shebangfix
SHEBANG_FILES=  catman/catman.perl makewhatis/makewhatis.perl

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
    ${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${file}
.endfor

.include <bsd.port.mk>