aboutsummaryrefslogtreecommitdiff
path: root/chinese/iiimf-le-chewing/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-03-05 21:47:24 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-03-05 21:47:24 +0000
commitd9389c183dd694b6ea8baa9f4c11d62adc1c29e4 (patch)
tree907639a236ccaaf174d28e9b38ec00101cf4243d /chinese/iiimf-le-chewing/Makefile
parent02e4e039dc8c2f78b8b861589ab1ee5b0bea3f5a (diff)
downloadports-d9389c183dd694b6ea8baa9f4c11d62adc1c29e4.tar.gz
ports-d9389c183dd694b6ea8baa9f4c11d62adc1c29e4.zip
- update the URLs in MASTER_SITES and pkg-descr
- upgrade to 0.0.2 Approved by: kcwu
Notes
Notes: svn path=/head/; revision=130427
Diffstat (limited to 'chinese/iiimf-le-chewing/Makefile')
-rw-r--r--chinese/iiimf-le-chewing/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/chinese/iiimf-le-chewing/Makefile b/chinese/iiimf-le-chewing/Makefile
index 395f7926bb98..4af2e3e78a68 100644
--- a/chinese/iiimf-le-chewing/Makefile
+++ b/chinese/iiimf-le-chewing/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= iiimf-le-chewing
-PORTVERSION= 0.01
+PORTVERSION= 0.0.2
+PORTEPOCH= 1
CATEGORIES= chinese textproc
-MASTER_SITES= http://wagner.elixus.org/~clkao/
-DISTFILES= iiimf-chewing.tgz
+MASTER_SITES= http://chewing.csie.net/download/iiimf/
+DISTNAME= ${PORTNAME:C/-le-/-/}-${PORTVERSION}
MAINTAINER= kcwu@csie.org
COMMENT= IIIMF Chewing engine, an intelligent Chinese phonetic input method
@@ -18,17 +19,11 @@ LIB_DEPENDS= chewing.2:${PORTSDIR}/chinese/libchewing
BUILD_DEPENDS= ${LOCALBASE}/include/iiimf/iml/SunIM.h:${PORTSDIR}/textproc/iiimf-headers
RUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server
-WRKSRC= ${WRKDIR}/trunk
+USE_XLIB= yes
USE_ICONV= yes
-
-do-build:
- cd ${WRKSRC} && \
- ${CC} ${CFLAGS} -o chewing.so -shared -fPIC -DARCH=\"${MACHINE_ARCH}\" \
- -I${LOCALBASE}/include -I${LOCALBASE}/include/iiimf -I${LOCALBASE}/include/iiimf/iml -I${LOCALBASE}/include/chewing \
- chewing.c -L${LOCALBASE}/lib -lchewing -liconv
-
-do-install:
- ${MKDIR} ${PREFIX}/lib/im/leif
- ${INSTALL_DATA} ${WRKSRC}/chewing.so ${PREFIX}/lib/im/leif
+USE_LIBTOOL_VER=15
+GNU_CONFIGURE= yes
+CPPFLAGS= -I${LOCALBASE}/include
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
.include <bsd.port.mk>