1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/japanese/easypr/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

36 lines
957 B
Makefile

# New ports collection makefile for: easypr
# Date created: 99/10/19
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= easypr
PORTVERSION= 0.70
CATEGORIES= japanese print
MASTER_SITES= http://www.linet.gr.jp/~mituiwa/
DISTNAME= print-${PORTVERSION}
MAINTAINER= taoka@FreeBSD.org
RUN_DEPENDS= e2ps:${PORTSDIR}/japanese/e2ps \
wish8.0jp:${PORTSDIR}/japanese/tk80 \
psnup:${PORTSDIR}/print/psutils-a4 \
giftopnm:${PORTSDIR}/graphics/netpbm
do-build:
${ECHO_CMD} '#!${PREFIX}/bin/wish8.0jp' > ${WRKSRC}/easypr
${CAT} ${WRKSRC}/easypr.in >> ${WRKSRC}/easypr
cd ${WRKSRC}; ${CC} -o setcap setcap.c
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/easypr ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/lpr2 ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/setcap ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ja-easypr
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja-easypr/README.jp
.endif
.include <bsd.port.mk>