aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/gcin-devel/Makefile9
-rw-r--r--chinese/gcin-devel/distinfo6
-rw-r--r--chinese/gcin/Makefile9
-rw-r--r--chinese/gcin/distinfo6
4 files changed, 16 insertions, 14 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile
index 419d71d85dfd..892be468de35 100644
--- a/chinese/gcin-devel/Makefile
+++ b/chinese/gcin-devel/Makefile
@@ -19,6 +19,7 @@ MAINTAINER= chinsan@FreeBSD.org
COMMENT= A traditional chinese input utility in X
USE_BZIP2= YES
+GZIP_CMD?= /usr/bin/gzip
GNU_CONFIGURE= YES
USE_GNOME= gtk20
USE_GMAKE= YES
@@ -34,11 +35,11 @@ MAN1= gcin.1 gcin2tab.1
.include <bsd.port.pre.mk>
.if defined(WITH_BOSHIAMY)
-MASTER_SITES+= http://edt1023.sayya.org/misc/:boshiamy
-DISTFILES+= noseeing-6.tar.gz:boshiamy
+MASTER_SITES+= http://edt1023.sayya.org/gcin/:boshiamy
+DISTFILES+= noseeing-7.cin.gz:boshiamy
post-extract:
- @${TAR} -C ${WRKSRC}/data/ -zxf ${DISTDIR}/noseeing-6.tar.gz \
- noseeing.cin
+ cd ${WRKSRC}/data && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/noseeing-7.cin.gz \
+ > noseeing.cin
@${REINPLACE_CMD} -e 's,cj.gtab,cj.gtab noseeing.gtab,' \
${WRKSRC}/data/Makefile
.endif
diff --git a/chinese/gcin-devel/distinfo b/chinese/gcin-devel/distinfo
index 441a3dc0f875..93bea5f89fae 100644
--- a/chinese/gcin-devel/distinfo
+++ b/chinese/gcin-devel/distinfo
@@ -1,6 +1,6 @@
MD5 (gcin-1.3.2.tar.bz2) = 9de142b3c491ee446b9234a35a878159
SHA256 (gcin-1.3.2.tar.bz2) = 99ac8a9d6edc2c5090c0fd941e53f318188809578de96a8948a03e983c210dbf
SIZE (gcin-1.3.2.tar.bz2) = 1621176
-MD5 (noseeing-6.tar.gz) = c67e5c85b2805f12bb2f092dfa1814b7
-SHA256 (noseeing-6.tar.gz) = 2f240c8dbb15c2249dff74102842bbccfe307a721cf2c092c75dc6234e470f9b
-SIZE (noseeing-6.tar.gz) = 400429
+MD5 (noseeing-7.cin.gz) = b16c3ab0ec9350eced7135d99896541f
+SHA256 (noseeing-7.cin.gz) = 1c950a7403f4b224855ee5b3172eec63d508c0cd07bebf843eb1bc4a32859e27
+SIZE (noseeing-7.cin.gz) = 136650
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile
index 419d71d85dfd..892be468de35 100644
--- a/chinese/gcin/Makefile
+++ b/chinese/gcin/Makefile
@@ -19,6 +19,7 @@ MAINTAINER= chinsan@FreeBSD.org
COMMENT= A traditional chinese input utility in X
USE_BZIP2= YES
+GZIP_CMD?= /usr/bin/gzip
GNU_CONFIGURE= YES
USE_GNOME= gtk20
USE_GMAKE= YES
@@ -34,11 +35,11 @@ MAN1= gcin.1 gcin2tab.1
.include <bsd.port.pre.mk>
.if defined(WITH_BOSHIAMY)
-MASTER_SITES+= http://edt1023.sayya.org/misc/:boshiamy
-DISTFILES+= noseeing-6.tar.gz:boshiamy
+MASTER_SITES+= http://edt1023.sayya.org/gcin/:boshiamy
+DISTFILES+= noseeing-7.cin.gz:boshiamy
post-extract:
- @${TAR} -C ${WRKSRC}/data/ -zxf ${DISTDIR}/noseeing-6.tar.gz \
- noseeing.cin
+ cd ${WRKSRC}/data && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/noseeing-7.cin.gz \
+ > noseeing.cin
@${REINPLACE_CMD} -e 's,cj.gtab,cj.gtab noseeing.gtab,' \
${WRKSRC}/data/Makefile
.endif
diff --git a/chinese/gcin/distinfo b/chinese/gcin/distinfo
index 441a3dc0f875..93bea5f89fae 100644
--- a/chinese/gcin/distinfo
+++ b/chinese/gcin/distinfo
@@ -1,6 +1,6 @@
MD5 (gcin-1.3.2.tar.bz2) = 9de142b3c491ee446b9234a35a878159
SHA256 (gcin-1.3.2.tar.bz2) = 99ac8a9d6edc2c5090c0fd941e53f318188809578de96a8948a03e983c210dbf
SIZE (gcin-1.3.2.tar.bz2) = 1621176
-MD5 (noseeing-6.tar.gz) = c67e5c85b2805f12bb2f092dfa1814b7
-SHA256 (noseeing-6.tar.gz) = 2f240c8dbb15c2249dff74102842bbccfe307a721cf2c092c75dc6234e470f9b
-SIZE (noseeing-6.tar.gz) = 400429
+MD5 (noseeing-7.cin.gz) = b16c3ab0ec9350eced7135d99896541f
+SHA256 (noseeing-7.cin.gz) = 1c950a7403f4b224855ee5b3172eec63d508c0cd07bebf843eb1bc4a32859e27
+SIZE (noseeing-7.cin.gz) = 136650