aboutsummaryrefslogtreecommitdiff
path: root/chinese/scim-chewing
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-03-06 06:33:58 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-03-06 06:33:58 +0000
commit9bba2ebdaebe9afe70961fd05f933f230f8dddb7 (patch)
treed42969005f29778c1eda03a43b98b0d8ab07da18 /chinese/scim-chewing
parent8681f2820f3eb0672a214c4be8390ea819396934 (diff)
downloadports-9bba2ebdaebe9afe70961fd05f933f230f8dddb7.tar.gz
ports-9bba2ebdaebe9afe70961fd05f933f230f8dddb7.zip
Notes
Diffstat (limited to 'chinese/scim-chewing')
-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