1999-10-22 05:30:46 +00:00
|
|
|
# New ports collection makefile for: easypr
|
|
|
|
# Date created: 99/10/19
|
|
|
|
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= easypr
|
2001-12-03 15:52:51 +00:00
|
|
|
PORTVERSION= 0.70
|
1999-10-22 05:30:46 +00:00
|
|
|
CATEGORIES= japanese print
|
2001-12-03 15:52:51 +00:00
|
|
|
MASTER_SITES= http://www.linet.gr.jp/~mituiwa/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= print-${PORTVERSION}
|
1999-10-22 05:30:46 +00:00
|
|
|
|
|
|
|
MAINTAINER= taoka@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A control panel for printers (with Japanese messages)
|
1999-10-22 05:30:46 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= e2ps:${PORTSDIR}/japanese/e2ps \
|
2001-12-03 15:52:51 +00:00
|
|
|
wish8.0jp:${PORTSDIR}/japanese/tk80 \
|
1999-10-22 05:30:46 +00:00
|
|
|
psnup:${PORTSDIR}/print/psutils-a4 \
|
1999-10-25 03:57:16 +00:00
|
|
|
giftopnm:${PORTSDIR}/graphics/netpbm
|
1999-10-22 05:30:46 +00:00
|
|
|
|
|
|
|
do-build:
|
2002-01-29 11:08:52 +00:00
|
|
|
${ECHO_CMD} '#!${PREFIX}/bin/wish8.0jp' > ${WRKSRC}/easypr
|
1999-10-22 05:30:46 +00:00
|
|
|
${CAT} ${WRKSRC}/easypr.in >> ${WRKSRC}/easypr
|
2000-08-25 02:50:52 +00:00
|
|
|
cd ${WRKSRC}; ${CC} -o setcap setcap.c
|
1999-10-22 05:30:46 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/easypr ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lpr2 ${PREFIX}/bin
|
2000-08-25 02:50:52 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/setcap ${PREFIX}/bin
|
2001-12-03 15:52:51 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ja-easypr
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja-easypr/README.jp
|
|
|
|
.endif
|
1999-10-22 05:30:46 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|