Index: head/japanese/man/Makefile =================================================================== --- head/japanese/man/Makefile (revision 491060) +++ head/japanese/man/Makefile (revision 491061) @@ -1,42 +1,39 @@ # Created by: Kiriyama Kazuhiko # $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 +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 Index: head/japanese/man/files/patch-man__Makefile =================================================================== --- head/japanese/man/files/patch-man__Makefile (revision 491060) +++ head/japanese/man/files/patch-man__Makefile (revision 491061) @@ -1,42 +1,49 @@ --- man/Makefile.orig 2014-08-26 12:12:08.000000000 +0900 +++ man/Makefile 2014-08-26 12:12:36.000000000 +0900 @@ -10,14 +10,14 @@ SRCS= man.c manpath.c glob.c locale.c MAN1= jman.1 EMAN1= jman.1.eng.gz -BINOWN= man -BINMODE=4555 -INSTALLFLAGS+= -fschg +#BINOWN= man +#BINMODE=4555 +#INSTALLFLAGS+= -fschg CFLAGS+= -g -I${LIBDESTDIR} DPADD= ${LIBMAN} LDADD= ${LIBMAN} -.if exists(/usr/lib/libxpg4.a) +.if ${OSVERSION} < 400020 LDADD+= -L/usr/lib -lxpg4 .endif -@@ -48,11 +48,18 @@ +@@ -48,16 +48,23 @@ ${.CURDIR}/jman.man.eng | \ ${compress} > ${EMAN1} -.if !defined(NOMAN) +install: ${PROG} man_install afterinstall + ${INSTALL} -s -m 555 ${PROG} ${DESTDIR}/${BINDIR} + +.if !defined(NO_MAN) +man_install: ${MAN1} + ${INSTALL} -m 444 ${MAN1} ${DESTDIR}${MANDIR}1 + afterinstall: ${EMAN1} - ${INSTALL} -c -o bin -g bin -m 444 ${EMAN1} \ + ${INSTALL} -m 444 ${EMAN1} \ ${DESTDIR}${EMANDIR}1/jman.1.gz .else +man_install: afterinstall: .endif + man.o locale.o: locale.h + +-.include "../Makefile.inc" +- + .include ++ ++.include "../Makefile.inc" Index: head/japanese/man/files/patch-manpath__Makefile =================================================================== --- head/japanese/man/files/patch-manpath__Makefile (revision 491060) +++ head/japanese/man/files/patch-manpath__Makefile (revision 491061) @@ -1,24 +1,28 @@ --- manpath/Makefile.orig 2001-06-11 21:25:34.000000000 +0900 +++ manpath/Makefile 2014-08-26 12:10:04.000000000 +0900 -@@ -24,10 +24,19 @@ +@@ -24,12 +24,21 @@ ${.CURDIR}/jmanpath.man.eng | \ ${compress} > ${EMAN1} -.if !defined(NOMAN) +install: ${PROG} man_install afterinstall + ${INSTALL} -s -m 555 ${PROG} ${DESTDIR}/${BINDIR} + +.if !defined(NO_MAN) +man_install: ${MAN1} + ${INSTALL} -m 444 ${MAN1} ${DESTDIR}${MANDIR}1 + afterinstall: ${EMAN1} - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${EMAN1} \ + ${INSTALL} -m 444 ${EMAN1} \ ${DESTDIR}${EMANDIR}1/jmanpath.1.gz +.else +man_install: +afterinstall: .endif - .include "../Makefile.inc" +-.include "../Makefile.inc" +- + .include ++ ++.include "../Makefile.inc"