View | Details | Raw Unified | Return to bug 176021
Collapse All | Expand All

(-)chinese/libchewing/Makefile (-8 / +9 lines)
Lines 1-24 Link Here
1
# New ports collection makefile for:	libchewing
1
# Created by: Kuang-che Wu <kcwu@csie.org>
2
# Date created:		5 Sep 2004
3
# Whom:			Kuang-che Wu <kcwu@csie.org>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	libchewing
4
PORTNAME=	libchewing
9
PORTVERSION=	0.3.3
5
PORTVERSION=	0.3.4
10
CATEGORIES=	chinese textproc
6
CATEGORIES=	chinese textproc
11
MASTER_SITES=	http://chewing.csie.net/download/libchewing/
7
MASTER_SITES=	GOOGLE_CODE
12
8
13
MAINTAINER=	clsung@FreeBSD.org
9
MAINTAINER=	clsung@FreeBSD.org
14
COMMENT=	The Chewing intelligent phonetic input method library
10
COMMENT=	The Chewing intelligent phonetic input method library
15
11
16
USE_GNOME=	gnomehack pkgconfig
12
INFO=		libchewing
13
14
USE_GMAKE=	yes
15
USE_GNOME=	gnomehack
16
USE_PKGCONFIG=	yes
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
USE_BZIP2=	yes
19
USE_BZIP2=	yes
20
20
21
DATADIR=	${PREFIX}/share/chewing
21
DATADIR=	${PREFIX}/share/chewing
22
PROJECTHOST=	chewing
22
23
23
.include <bsd.port.pre.mk>
24
.include <bsd.port.pre.mk>
24
25
(-)chinese/libchewing/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libchewing-0.3.3.tar.bz2) = 72a0de12b86c4d5f6468a68d88c736227ff16fa7a915f8595ffe5a31cae95eae
1
SHA256 (libchewing-0.3.4.tar.bz2) = f940734d514d52f0375cb1afa5d4d7536a93fd8ff0c3ce4a002ab1698dd07ff6
2
SIZE (libchewing-0.3.3.tar.bz2) = 1798134
2
SIZE (libchewing-0.3.4.tar.bz2) = 1926898
(-)chinese/libchewing/files/patch-data_Makefile.in (+11 lines)
Line 0 Link Here
1
--- data/Makefile.in.orig	2013-02-10 19:20:34.000000000 -0500
2
+++ data/Makefile.in	2013-02-10 19:20:40.000000000 -0500
3
@@ -261,7 +261,7 @@
4
 	tsi.src \
5
 	$(NULL)
6
 
7
-chewing_datadir = $(pkglibdir)
8
+chewing_datadir = $(datadir)/chewing
9
 chewing_data_DATA = \
10
 	$(static_tables) \
11
 	$(datas) \
(-)chinese/libchewing/files/patch-plat_path.c (+15 lines)
Line 0 Link Here
1
--- src/porting_layer/src/plat_path.c.orig	2013-02-10 19:57:20.000000000 -0500
2
+++ src/porting_layer/src/plat_path.c	2013-02-10 19:57:35.000000000 -0500
3
@@ -37,10 +37,10 @@
4
 		home = getenv( "HOME" );
5
 		if ( home ) {
6
 			snprintf( path, path_len, "%s/.chewing" SEARCH_PATH_SEP
7
-				LIBDIR "/libchewing", home );
8
+				DATADIR "/chewing", home );
9
 		} else {
10
 			// No HOME ?
11
-			strncpy( path, SEARCH_PATH_SEP LIBDIR "/libchewing", path_len );
12
+			strncpy( path, SEARCH_PATH_SEP DATADIR "/chewing", path_len );
13
 		}
14
 	}
15
 
(-)chinese/libchewing/files/patch-src_porting_layer_Makefile.in (+10 lines)
Line 0 Link Here
1
--- src/porting_layer/src/Makefile.in.orig	2013-02-10 19:59:20.000000000 -0500
2
+++ src/porting_layer/src/Makefile.in	2013-02-10 19:59:33.000000000 -0500
3
@@ -113,6 +113,7 @@
4
 AM_CFLAGS = @AM_CFLAGS@
5
 AM_CPPFLAGS = \
6
 	-DLIBDIR=\"@libdir@\" \
7
+	-DDATADIR=\"@datadir@\" \
8
 	$(NULL)
9
 
10
 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@

Return to bug 176021