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

DISTNAME=	epwutil-1.0
PKGNAME=	ja-epwutil-1.0
CATEGORIES=	japanese
MASTER_SITES=	ftp://ftp.nerimadors.or.jp/pub/epwutil/

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} ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
.endif
.endfor
	@${MKDIR} ${EPWDOCDIR}
	cd ${WRKSRC}; ${INSTALL_DATA} ${EPWDOCS} ${EPWDOCDIR}

.include <bsd.port.mk>