1996-12-07 08:24:42 -05:00
|
|
|
# New ports collection makefile for: Japanese man documents
|
1998-03-20 11:30:30 -05:00
|
|
|
# Version required: 2.2
|
1997-01-06 06:31:12 -05:00
|
|
|
# Date created: 6 January 1997
|
1996-12-07 08:24:42 -05:00
|
|
|
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
|
|
|
#
|
1998-03-20 11:30:30 -05:00
|
|
|
# $Id: Makefile,v 1.17 1998/01/12 02:48:47 steve Exp $
|
1996-12-07 08:24:42 -05:00
|
|
|
#
|
|
|
|
|
1998-03-20 11:30:30 -05:00
|
|
|
DISTNAME= jpman-2.2
|
|
|
|
PKGNAME= ja-man-doc-2.2
|
1996-12-07 08:24:42 -05:00
|
|
|
CATEGORIES= japanese
|
1998-03-20 11:30:30 -05:00
|
|
|
DISTFILES= # none
|
1996-12-07 08:24:42 -05:00
|
|
|
|
|
|
|
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
|
|
|
|
|
1998-03-20 11:30:30 -05:00
|
|
|
PREFIX?= /usr
|
|
|
|
NO_CHECKSUM= yes
|
|
|
|
NO_MTREE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/man
|
|
|
|
|
|
|
|
LANGNAME= ja
|
|
|
|
MANSECS= 1 5 8
|
|
|
|
JAMANDIR?= /usr/opt/doc/ja/man
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@if [ ! -d ${JAMANDIR} ]; then \
|
|
|
|
${ECHO} "You need the Japanese manual source in"; \
|
|
|
|
${ECHO} "\"${JAMANDIR}\""; \
|
|
|
|
${ECHO} "in order to build this port."; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
@${RM} -rf ${WRKDIR}
|
|
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
@(cd ${JAMANDIR}; ${CP} Makefile Makefile.inc ${WRKSRC})
|
|
|
|
.for sec in ${MANSECS}
|
|
|
|
@if [ -d ${JAMANDIR}/man${sec} ]; then \
|
|
|
|
${CP} -R ${JAMANDIR}/man${sec} ${WRKSRC}/ ; \
|
|
|
|
fi
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
.for sec in ${MANSECS}
|
|
|
|
@${MKDIR} ${PREFIX}/share/man/ja/man${sec}
|
|
|
|
.endfor
|
1996-12-07 08:24:42 -05:00
|
|
|
|
1997-08-24 06:49:15 -04:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
1996-12-07 08:24:42 -05:00
|
|
|
.include <bsd.port.mk>
|