1999-03-13 05:28:06 +00:00
|
|
|
# New ports collection makefile for: epwutil
|
|
|
|
# Date created: 22 January 1999
|
|
|
|
# Whom: Kazutoki TAKAMUNE <takamune@avrl.mei.co.jp>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1999-03-13 05:28:06 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= epwutil
|
2000-04-19 03:22:06 +00:00
|
|
|
PORTVERSION= 1.1
|
1999-03-13 05:28:06 +00:00
|
|
|
CATEGORIES= japanese
|
2000-04-19 03:22:06 +00:00
|
|
|
MASTER_SITES= http://openlab.ring.gr.jp/edict/epwutil/
|
1999-03-13 05:28:06 +00:00
|
|
|
|
|
|
|
MAINTAINER= takamune@avrl.mei.co.jp
|
|
|
|
|
|
|
|
MAKEFILE= makefile.unx
|
|
|
|
MANLANG= ja
|
|
|
|
|
|
|
|
EPWPROGS= bookinfo catdump squeeze
|
|
|
|
EPWDOCS= epwutil.doc
|
2000-04-19 03:22:06 +00:00
|
|
|
EPWDOCDIR= share/doc/epwutil
|
1999-03-13 05:28:06 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for file in ${EPWPROGS}
|
|
|
|
cd ${WRKSRC};\
|
2000-04-19 03:22:06 +00:00
|
|
|
${INSTALL_PROGRAM} ${file} ${PREFIX}/bin;\
|
1999-03-13 05:28:06 +00:00
|
|
|
${INSTALL_MAN} ${file}.man ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
|
|
|
|
.if !defined(NOMANCOMPRESS)
|
2000-03-30 11:24:44 +00:00
|
|
|
${GZIP_CMD} ${MANPREFIX}/man/${MANLANG}/cat1/${file}.1
|
1999-03-13 05:28:06 +00:00
|
|
|
.endif
|
|
|
|
.endfor
|
2000-04-19 03:22:06 +00:00
|
|
|
.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
|
1999-03-13 05:28:06 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|