aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/man-doc/Makefile
blob: 44f22b8fbe84d5a83c16ca7b062bbfa0186b4d3e (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
# New ports collection makefile for:    Japanese man documents
# Version required: 2.2.1
# Date created:     6 January 1997
# Whom:         Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $Id: Makefile,v 1.4 1997/02/12 11:00:45 asami Exp $
#

DISTNAME=   jp-man-doc-2.2.1
CATEGORIES= japanese
MASTER_SITES=   ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/man-jp/
DISTFILES=  jpman-2.2.1a.tar.gz

MAINTAINER= kiri@kiri.toba-cmt.ac.jp

RUN_DEPENDS=    jman:${PORTSDIR}/japanese/man

NO_BUILD=   yes
JPMANDIR=   jpman-2.2.1
WRKSRC=     ${WRKDIR}/${JPMANDIR}

do-install:
.if !defined(NOMANCOMPRESS)
    @${SETENV} LANG="${LANG}" PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
        PKGDIR=${PKGDIR} DISTDIR=${DISTDIR} DISTFILES=${DISTFILES} \
        JPMANDIR=${JPMANDIR} EXTRACT_CMD=${EXTRACT_CMD} \
        ECHO=${ECHO} RM=${RM} AWK=${AWK} \
        GZIP_CMD="${GZIP_CMD}" SED=${SED} \
        INSTALL_MAN="${INSTALL_MAN}" /bin/sh \
        ${FILESDIR}/install-man MANCOMPRESSED  
.else
    @${SETENV} LANG="${LANG}" PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
        PKGDIR=${PKGDIR} DISTDIR=${DISTDIR} \
        DISTFILES=${DISTFILES} JPMANDIR=${JPMANDIR} \
        EXTRACT_CMD=${EXTRACT_CMD} ECHO=${ECHO} RM=${RM} \
        AWK=${AWK} GZIP_CMD="${GZIP_CMD}" SED=${SED} \
        INSTALL_MAN="${INSTALL_MAN}" /bin/sh \
        ${FILESDIR}/install-man NOMANCOMPRESS  
.endif

pre-clean:
    @${RM} -f ${PKGDIR}/PLIST

.include <bsd.port.mk>