aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/man-doc/Makefile
blob: 721077edbd81beede6b18fefe7cb53680fac3709 (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
45
46
47
48
49
# New ports collection makefile for:    Japanese man documents
# Version required: 2.2.2f
# Date created:     6 January 1997
# Whom:         Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $Id: Makefile,v 1.12 1997/09/16 10:51:18 max Exp $
#

DISTNAME=   jpman-${VERSION}f
PKGNAME=    ja-man-doc-${VERSION}f
CATEGORIES= japanese
MASTER_SITES=   ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/man-jp/

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

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

NO_BUILD=   yes

VERSION=    2.2.2
JPMANDIR=   jpman-${VERSION}
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}" ${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}" ${SH} \
        ${FILESDIR}/install-man NOMANCOMPRESS  
.endif

post-install:
    @${CAT} ${PKGDIR}/MESSAGE

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

.include <bsd.port.mk>