1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/japanese/man/Makefile
Fernando Apesteguía 43e0e9e10f japanese/man: unbreak in several archs.
The port was broken in 12 and in different archs.

mips is still to be tested.

PR: 235058
Submitted by: phd_kimberlite@yahoo.co.jp
Reviewed by:  Ronald Klop (aarch64)  mikael.urankar@gmail.com (armv6, armv7)
MFH: 2019Q1 (build fix)
2019-01-23 22:04:19 +00:00

40 lines
1.1 KiB
Makefile

# 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_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>