blob: 8b91e96853a3a353617f2b6e725d39aa32bd8585 (
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
|
# New ports collection makefile for: epwutil
# Date created: 22 January 1999
# Whom: Kazutoki TAKAMUNE <takamune@avrl.mei.co.jp>
#
# $FreeBSD$
#
PORTNAME= epwutil
PORTVERSION= 1.1
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/epwutil/
MAINTAINER= takamune@avrl.mei.co.jp
MAKEFILE= makefile.unx
MANLANG= ja
EPWPROGS= bookinfo catdump squeeze
EPWDOCS= epwutil.doc
EPWDOCDIR= share/doc/epwutil
do-install:
.for file in ${EPWPROGS}
cd ${WRKSRC};\
${INSTALL_PROGRAM} ${file} ${PREFIX}/bin;\
${INSTALL_MAN} ${file}.man ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
.if !defined(NOMANCOMPRESS)
${GZIP_CMD} ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
.endif
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${EPWDOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} ${EPWDOCS} ${PREFIX}/${EPWDOCDIR}
.endif
post-install:
.for file in ${EPWPROGS}
${ECHO} man/${MANLANG}/cat1/${file}.1${MANEXT} >> ${TMPPLIST}
.endfor
.if !defined(NOPORTDOCS)
${ECHO} ${EPWDOCDIR}/${EPWDOCS} >> ${TMPPLIST}
${ECHO} "@dirrm ${EPWDOCDIR}" >> ${TMPPLIST}
.endif
.include <bsd.port.mk>
|