aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-03-06 14:33:58 +0800
committerleeym <leeym@FreeBSD.org>2005-03-06 14:33:58 +0800
commit491a8bec97371babe794a939c6c88a2e4aeaf44e (patch)
treeb04fa988caa7eef047d3d4df8493d75dca35508c /chinese
parent186bec78ccfb402907a063e4113cdcef063c1478 (diff)
downloadfreebsd-ports-gnome-491a8bec97371babe794a939c6c88a2e4aeaf44e.tar.gz
freebsd-ports-gnome-491a8bec97371babe794a939c6c88a2e4aeaf44e.tar.zst
freebsd-ports-gnome-491a8bec97371babe794a939c6c88a2e4aeaf44e.zip
- update to scim-chewing-0.2.0
Diffstat (limited to 'chinese')
-rw-r--r--chinese/scim-chewing/Makefile17
-rw-r--r--chinese/scim-chewing/distinfo4
-rw-r--r--chinese/scim-chewing/pkg-plist6
3 files changed, 16 insertions, 11 deletions
diff --git a/chinese/scim-chewing/Makefile b/chinese/scim-chewing/Makefile
index af07b16ddeae..ea80f7e2978c 100644
--- a/chinese/scim-chewing/Makefile
+++ b/chinese/scim-chewing/Makefile
@@ -6,22 +6,24 @@
#
PORTNAME= scim-chewing
-PORTVERSION= 0.0.1
+PORTVERSION= 0.2.0
CATEGORIES= chinese
-MASTER_SITES= http://jserv.sayya.org/qooing/
-DISTNAME= ${PORTNAME}-20041130
+MASTER_SITES= http://chewing.csie.net/download/scim/
-MAINTAINER= ports@FreeBSD.Org
+MAINTAINER= ports@FreeBSD.org
COMMENT= SCIM chewing Chinese input methods
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
-LIB_DEPENDS= chewing:${PORTSDIR}/chinese/libchewing
+LIB_DEPENDS= chewing.2:${PORTSDIR}/chinese/libchewing
RUN_DEPENDS= ${BUILD_DEPENDS}
-USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL_VER= 15
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,/1.0.0/,/,g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.pre.mk>
@@ -32,7 +34,8 @@ BROKEN= scim-make-table is not available for 4.x
post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO}
- @${ECHO} To display this message again, type \`make post-install\'
+ @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
+
.include <bsd.port.post.mk>
diff --git a/chinese/scim-chewing/distinfo b/chinese/scim-chewing/distinfo
index d1c5685d415b..3f4c2876e9f9 100644
--- a/chinese/scim-chewing/distinfo
+++ b/chinese/scim-chewing/distinfo
@@ -1,2 +1,2 @@
-MD5 (scim-chewing-20041130.tar.bz2) = 5eea8b592238dd8e5facad5f1c683e77
-SIZE (scim-chewing-20041130.tar.bz2) = 322434
+MD5 (scim-chewing-0.2.0.tar.gz) = 945ef747c9d56800d4fc21afc8e5a648
+SIZE (scim-chewing-0.2.0.tar.gz) = 408318
diff --git a/chinese/scim-chewing/pkg-plist b/chinese/scim-chewing/pkg-plist
index 3f7f7494c7a7..8fb4222286d0 100644
--- a/chinese/scim-chewing/pkg-plist
+++ b/chinese/scim-chewing/pkg-plist
@@ -1,3 +1,5 @@
-lib/scim-1.0/1.0.0/IMEngine/chewing.so
-lib/scim-1.0/1.0.0/SetupUI/chewing-imengine-setup.so
+lib/scim-1.0/IMEngine/chewing.so
+lib/scim-1.0/SetupUI/chewing-imengine-setup.so
share/scim/icons/scim-chewing.png
+@unexec rmdir %D/lib/scim-1.0/IMEngine 2>/dev/null || true
+@unexec rmdir %D/lib/scim-1.0/SetupUI 2>/dev/null || true