1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/japanese/epwutil/Makefile
Akinori MUSHA 0b10204950 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
2002-01-29 11:08:52 +00:00

46 lines
1.1 KiB
Makefile

# 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_CMD} man/${MANLANG}/cat1/${file}.1${MANEXT} >> ${TMPPLIST}
.endfor
.if !defined(NOPORTDOCS)
${ECHO_CMD} ${EPWDOCDIR}/${EPWDOCS} >> ${TMPPLIST}
${ECHO_CMD} "@dirrm ${EPWDOCDIR}" >> ${TMPPLIST}
.endif
.include <bsd.port.mk>