aboutsummaryrefslogtreecommitdiff
path: root/japanese/easypr
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2001-12-03 15:52:51 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2001-12-03 15:52:51 +0000
commit403125e884b13edacf551a5ebda23f367ca64503 (patch)
tree905ff556b207af04a9d71b83f5e2f5da33b2f949 /japanese/easypr
parent9b595a9bae93d009cad729a95e5e91fc38cd747f (diff)
downloadports-403125e884b13edacf551a5ebda23f367ca64503.tar.gz
ports-403125e884b13edacf551a5ebda23f367ca64503.zip
Update version to 0.70
Change from japanese/tk42 to japanese/tk80 in RUN_DEPENDS
Notes
Notes: svn path=/head/; revision=50975
Diffstat (limited to 'japanese/easypr')
-rw-r--r--japanese/easypr/Makefile12
-rw-r--r--japanese/easypr/distinfo2
-rw-r--r--japanese/easypr/files/patch-aa25
-rw-r--r--japanese/easypr/pkg-descr2
-rw-r--r--japanese/easypr/pkg-plist2
5 files changed, 12 insertions, 31 deletions
diff --git a/japanese/easypr/Makefile b/japanese/easypr/Makefile
index c07d74f66931..8a446021d54c 100644
--- a/japanese/easypr/Makefile
+++ b/japanese/easypr/Makefile
@@ -6,20 +6,20 @@
#
PORTNAME= easypr
-PORTVERSION= 0.60
+PORTVERSION= 0.70
CATEGORIES= japanese print
-MASTER_SITES= http://plamo.linet.gr.jp/~mituiwa/
+MASTER_SITES= http://www.linet.gr.jp/~mituiwa/
DISTNAME= print-${PORTVERSION}
MAINTAINER= taoka@FreeBSD.org
RUN_DEPENDS= e2ps:${PORTSDIR}/japanese/e2ps \
- wish4.2jp:${PORTSDIR}/japanese/tk42 \
+ wish8.0jp:${PORTSDIR}/japanese/tk80 \
psnup:${PORTSDIR}/print/psutils-a4 \
giftopnm:${PORTSDIR}/graphics/netpbm
do-build:
- ${ECHO} '#!${PREFIX}/bin/wish4.2jp' > ${WRKSRC}/easypr
+ ${ECHO} '#!${PREFIX}/bin/wish8.0jp' > ${WRKSRC}/easypr
${CAT} ${WRKSRC}/easypr.in >> ${WRKSRC}/easypr
cd ${WRKSRC}; ${CC} -o setcap setcap.c
@@ -27,5 +27,9 @@ 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>
diff --git a/japanese/easypr/distinfo b/japanese/easypr/distinfo
index 28e94bdfa5e4..f77aa0f51b1e 100644
--- a/japanese/easypr/distinfo
+++ b/japanese/easypr/distinfo
@@ -1 +1 @@
-MD5 (print-0.60.tar.gz) = 871aab2740fd329c594ead9e9f0d932c
+MD5 (print-0.70.tar.gz) = 50f3031ca4ea8b56419b0aa86c3fb485
diff --git a/japanese/easypr/files/patch-aa b/japanese/easypr/files/patch-aa
deleted file mode 100644
index 9d8f3c0d15aa..000000000000
--- a/japanese/easypr/files/patch-aa
+++ /dev/null
@@ -1,25 +0,0 @@
---- setcap.c.orig Mon Jul 24 23:22:11 2000
-+++ setcap.c Fri Aug 25 11:17:42 2000
-@@ -1,6 +1,10 @@
- #include <stdio.h>
- #include <signal.h>
-
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
- int main(int argc, char **argv) {
- FILE *fp;
- int i, pid;
-@@ -9,7 +13,11 @@
- switch(argc) {
- case 1:
- for(i = 0;i < 3;i++) {
-+#if (defined(BSD) && (BSD >= 199103))
-+ sprintf(com, "/dev/lpt%d", i);
-+#else
- sprintf(com, "/dev/lp%d", i);
-+#endif
- if((fp = fopen(com, "w")) != 0) {
- puts(com);
- fclose(fp);
diff --git a/japanese/easypr/pkg-descr b/japanese/easypr/pkg-descr
index 588a62ae4649..739d3d84ca6a 100644
--- a/japanese/easypr/pkg-descr
+++ b/japanese/easypr/pkg-descr
@@ -14,4 +14,4 @@ instead of lpr.
-- S.TAOKA <taoka@FreeBSD.org>
-WWW: http://www2.famille.ne.jp/~mituiwa/
+WWW: http://www.linet.gr.jp/~mituiwa/
diff --git a/japanese/easypr/pkg-plist b/japanese/easypr/pkg-plist
index cccf214ca01b..5b5f5536e511 100644
--- a/japanese/easypr/pkg-plist
+++ b/japanese/easypr/pkg-plist
@@ -1,3 +1,5 @@
bin/easypr
bin/lpr2
bin/setcap
+share/doc/ja-easypr/README.jp
+@dirrm share/doc/ja-easypr