aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/epwutil/Makefile
blob: 237bf9ef7093e559da3b4690c2c075aabf2e8d78 (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
# New ports collection makefile for:    epwutil
# Version required: 1.0
# Date created:     22 January 1999
# Whom:         Kazutoki TAKAMUNE <takamune@avrl.mei.co.jp>
#
# $Id$
#

DISTNAME=   epwutil-1.0
PKGNAME=    ja-epwutil-1.0
CATEGORIES= japanese
MASTER_SITES=   ftp://ftp.nerimadors.or.jp/pub/epwutil/ \
        ftp://ring.aist.go.jp/openlab/lookup/edict/

MAINTAINER= takamune@avrl.mei.co.jp

NO_WRKSUBDIR=   yes
MAKEFILE=   makefile.unx
MANLANG=    ja

EPWPROGS=   bookinfo catdump squeeze
EPWDOCS=    epwutil.doc
EPWDOCDIR=  ${PREFIX}/share/doc/epwutil

do-install:
    cd ${WRKSRC}; ${INSTALL_PROGRAM} ${EPWPROGS} ${PREFIX}/bin
.for file in ${EPWPROGS}
    cd ${WRKSRC};\
    ${INSTALL_MAN} ${file}.man ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
.if !defined(NOMANCOMPRESS)
    ${GZIP_CMD} -9nf ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
.endif
.endfor
    @${MKDIR} ${EPWDOCDIR}
    cd ${WRKSRC}; ${INSTALL_DATA} ${EPWDOCS} ${EPWDOCDIR}

.include <bsd.port.mk>