From 29747f458a1eb2ce23b4594b09d0256dd62760b8 Mon Sep 17 00:00:00 2001
From: Joe Marcus Clarke <marcus@FreeBSD.org>
Date: Sat, 14 Oct 2006 08:54:54 +0000
Subject: Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
 new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
---
 chinese/wenju/Makefile  | 4 ++--
 chinese/wenju/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

(limited to 'chinese/wenju')

diff --git a/chinese/wenju/Makefile b/chinese/wenju/Makefile
index cd0ddd8168b6..e8f38b379b39 100644
--- a/chinese/wenju/Makefile
+++ b/chinese/wenju/Makefile
@@ -7,7 +7,7 @@
 
 PORTNAME=	wenju
 PORTVERSION=	1.3
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	chinese
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	wenju
@@ -19,7 +19,7 @@ USE_AUTOTOOLS=	libtool:15
 USE_GETOPT_LONG=yes
 USE_GNOME=	gtk20
 USE_LDCONFIG=	yes
-USE_X_PREFIX=	yes
+USE_XLIB=	yes
 
 .if !defined(WITHOUT_NLS)
 USE_GETTEXT=	yes
diff --git a/chinese/wenju/pkg-plist b/chinese/wenju/pkg-plist
index ccc4924bd77c..18330c5d908b 100644
--- a/chinese/wenju/pkg-plist
+++ b/chinese/wenju/pkg-plist
@@ -1,9 +1,9 @@
 @comment $FreeBSD$
 bin/tim-config
 bin/wrap
-lib/gtk-2.0/2.4.0/immodules/im-tim.a
-lib/gtk-2.0/2.4.0/immodules/im-tim.la
-lib/gtk-2.0/2.4.0/immodules/im-tim.so
+lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-tim.a
+lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-tim.la
+lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-tim.so
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/wenju.mo
 %%DATADIR%%/bxm.tim
 %%DATADIR%%/cj.tim
-- 
cgit v1.2.3