aboutsummaryrefslogtreecommitdiff
path: root/chinese/chinput3
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
commit29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch)
tree1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /chinese/chinput3
parent7aad84f808b93baa6a7077ce0b47573b9c4c79a0 (diff)
downloadports-29747f458a1eb2ce23b4594b09d0256dd62760b8.tar.gz
ports-29747f458a1eb2ce23b4594b09d0256dd62760b8.zip
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)
Notes
Notes: svn path=/head/; revision=175261
Diffstat (limited to 'chinese/chinput3')
-rw-r--r--chinese/chinput3/Makefile9
-rw-r--r--chinese/chinput3/pkg-plist2
2 files changed, 8 insertions, 3 deletions
diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile
index 7f0b53255602..9adfad2bf27a 100644
--- a/chinese/chinput3/Makefile
+++ b/chinese/chinput3/Makefile
@@ -3,11 +3,11 @@
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
-#
+# $MCom: ports/chinese/chinput3/Makefile,v 1.1 2006/10/04 13:15:20 ahze Exp $
PORTNAME= chinput
PORTVERSION= 3.0.2.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= chinese x11
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/chinput3/
@@ -36,7 +36,10 @@ post-patch:
pre-build:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
- -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|'
+ -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|; \
+ s|-I/usr/include|-I${LOCALBASE}/include|; \
+ s|-L/usr/lib|-L${LOCALBASE}/lib|; \
+ s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|'
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/chinese/chinput3/pkg-plist b/chinese/chinput3/pkg-plist
index 780ac2a060f2..23dc738565ac 100644
--- a/chinese/chinput3/pkg-plist
+++ b/chinese/chinput3/pkg-plist
@@ -29,3 +29,5 @@ share/locale/zh_CN/LC_MESSAGES/zwincontrol.mo
@dirrm lib/Chinput/im/bin
@dirrm lib/Chinput/im
@dirrm lib/Chinput
+@dirrmtry share/locale/zh_CN/LC_MESSAGES
+@dirrmtry share/locale/zh_CN