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