aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-10 03:08:13 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-10 03:08:13 +0000
commit4c86d51bb993e468bf911c2bdfac7b70894b5058 (patch)
tree86c77e06fff6812b024fb8af5d3e2a41aa1b08bf /converters
parent8e7fd42f2178feb0bbd8a4c573c0213935667ab5 (diff)
downloadports-4c86d51bb993e468bf911c2bdfac7b70894b5058.tar.gz
ports-4c86d51bb993e468bf911c2bdfac7b70894b5058.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/ish/Makefile9
-rw-r--r--converters/ish/distinfo6
-rw-r--r--converters/ish/files/patch-decode.c11
3 files changed, 21 insertions, 5 deletions
diff --git a/converters/ish/Makefile b/converters/ish/Makefile
index fbf7d58d90ff..e65f146305fc 100644
--- a/converters/ish/Makefile
+++ b/converters/ish/Makefile
@@ -5,9 +5,11 @@
# $FreeBSD$
PORTNAME= ish
-PORTVERSION= 1.11
+PORTVERSION= 2.01a5
CATEGORIES= converters
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= http://www.unix.gr.jp/jnetcex/soft/\
+ ${MASTER_SITE_PORTS_JP}
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Binary-to-text file-encoder
@@ -17,4 +19,7 @@ MAKE_ARGS= CFLAGS="${CFLAGS}" DEST=${PREFIX}/bin
PLIST_FILES= bin/ish
ALL_TARGET= ish
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
.include <bsd.port.mk>
diff --git a/converters/ish/distinfo b/converters/ish/distinfo
index 45989a245ac6..930326f765e8 100644
--- a/converters/ish/distinfo
+++ b/converters/ish/distinfo
@@ -1,3 +1,3 @@
-MD5 (ish-1.11.tar.gz) = 072b894fd4014e9f06ea6c78f6a4f252
-SHA256 (ish-1.11.tar.gz) = ac5eea13a9bb7f9adb5ba5161881b159d27f80967bbcf0e52193c5c1916b15df
-SIZE (ish-1.11.tar.gz) = 13029
+MD5 (ish201a5.tar.gz) = ae1b62c7777d17b6d64a1c1b056d8114
+SHA256 (ish201a5.tar.gz) = b62828c18c4564bf6a93a0c211060357c3d2b5f0b6777a52c399c10f4d93906d
+SIZE (ish201a5.tar.gz) = 25803
diff --git a/converters/ish/files/patch-decode.c b/converters/ish/files/patch-decode.c
new file mode 100644
index 000000000000..ca649b418845
--- /dev/null
+++ b/converters/ish/files/patch-decode.c
@@ -0,0 +1,11 @@
+--- decode.c.orig 1996-01-07 19:46:37.000000000 +0900
++++ decode.c 2010-01-28 10:48:29.000000000 +0900
+@@ -265,7 +265,7 @@
+ fprintf(stderr, " ) ");
+ if (head->tstamp != 0) {
+ p = head->time;
+- tm.tm_year = (p[3]>>1)+80;
++ tm.tm_year = (p[3]>>1)+1980;
+ tm.tm_mon = (p[3]&0x01)<<3;
+ tm.tm_mon += (p[2]>>5) - 1;
+ tm.tm_mday = p[2]&0x1f;