aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>1998-12-05 18:41:03 +0800
committerflathill <flathill@FreeBSD.org>1998-12-05 18:41:03 +0800
commit8615b2ea01fdef0d148d55bc9f00eb4e2118f6a8 (patch)
tree2018e1da71099c5ccb003e3fd224cb9a01b76227 /x11-wm
parent78a8f8a23254a769b378d9510c3727ac34554cd2 (diff)
downloadfreebsd-ports-gnome-8615b2ea01fdef0d148d55bc9f00eb4e2118f6a8.tar.gz
freebsd-ports-gnome-8615b2ea01fdef0d148d55bc9f00eb4e2118f6a8.tar.zst
freebsd-ports-gnome-8615b2ea01fdef0d148d55bc9f00eb4e2118f6a8.zip
more KOREAN support
use LOCALBASE instead of /usr/local in patches/patch-*
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/windowmaker-i18n/Makefile13
-rw-r--r--x11-wm/windowmaker-i18n/distinfo2
-rw-r--r--x11-wm/windowmaker-i18n/files/patch-ad4
3 files changed, 13 insertions, 6 deletions
diff --git a/x11-wm/windowmaker-i18n/Makefile b/x11-wm/windowmaker-i18n/Makefile
index eba82bf8e70e..572f3f76028a 100644
--- a/x11-wm/windowmaker-i18n/Makefile
+++ b/x11-wm/windowmaker-i18n/Makefile
@@ -3,7 +3,7 @@
# Date created: 24 Nov 1998
# Whom: mac@jp.freebsd.org
#
-# $Id: Makefile,v 1.41 1998/11/25 10:44:00 flathill Exp $
+# $Id: Makefile,v 1.42 1998/11/25 23:05:42 asami Exp $
DISTNAME= WindowMaker-0.20.2
PKGNAME= windowmaker-i18n-0.20.2
@@ -11,8 +11,10 @@ CATEGORIES= x11-wm
MASTER_SITES= ftp://ftp.windowmaker.org/pub/beta/srcs/ \
ftp://ftp.io.com/pub/mirror/windowmaker/beta/srcs/ \
http://jgo.local.net/cool_downloads/wm/ \
- http://www.itlb.te.noda.sut.ac.jp/~manome/wmaker/archive/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES} setlinguas-0.4.gz
+ http://www.itlb.te.noda.sut.ac.jp/~manome/wmaker/archive/ \
+ ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/misc/wmaker/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES} setlinguas-0.4.gz \
+ WindowMaker-0.20.2-ko.po.gz WPrefs-0.20.2-ko.po.gz
MAINTAINER= mac@jp.freebsd.org
@@ -28,13 +30,14 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= X11BASE=${X11BASE} \
+CONFIGURE_ENV= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE}\
LINGUAS="de es fi fr hr it ja_JP.EUC ja_JP.SJIS ko nl no pl pt ru"
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
--with-nlsdir=${PREFIX}/share/locale \
--with-gfx-libs="-L${LOCALBASE}/lib" \
--with-gfx-incs="-I${LOCALBASE}/include/tiff34 -I${LOCALBASE}/include" \
--disable-debug --enable-kanji
+MAKE_ENV= LOCALBASE=${LOCALBASE}
MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \
wdwrite.1x wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x
@@ -45,6 +48,8 @@ DATAFILES= WindowMaker-data.tar.gz
post-extract:
@${GUNZIP_CMD} -c < ${_DISTDIR}/setlinguas-0.4.gz > ${WRKDIR}/setlinguas
+ @${GUNZIP_CMD} -c < ${_DISTDIR}/WindowMaker-0.20.2-ko.po.gz > ${WRKSRC}/po/ko.po
+ @${GUNZIP_CMD} -c < ${_DISTDIR}/WPrefs-0.20.2-ko.po.gz > ${WRKSRC}/WPrefs.app/po/ko.po
post-patch:
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
diff --git a/x11-wm/windowmaker-i18n/distinfo b/x11-wm/windowmaker-i18n/distinfo
index 7dfd2b272fc8..7bfe477e1d0f 100644
--- a/x11-wm/windowmaker-i18n/distinfo
+++ b/x11-wm/windowmaker-i18n/distinfo
@@ -1,3 +1,5 @@
MD5 (WindowMaker-0.20.2.tar.gz) = 26f92b4697238911f51566530f1915a3
MD5 (WindowMaker-data.tar.gz) = 6ea0c37314ea9e9ab27e8bdf45a31a82
MD5 (setlinguas-0.4.gz) = 21b3e4bb93b730f1c5f72bd9d73aae42
+MD5 (WindowMaker-0.20.2-ko.po.gz) = daf05a48c3a2445f7935a8142a029a5f
+MD5 (WPrefs-0.20.2-ko.po.gz) = b49a72d95984b7ced07696cc7fd61566
diff --git a/x11-wm/windowmaker-i18n/files/patch-ad b/x11-wm/windowmaker-i18n/files/patch-ad
index b256ee1f9c94..ea6fb676d9e9 100644
--- a/x11-wm/windowmaker-i18n/files/patch-ad
+++ b/x11-wm/windowmaker-i18n/files/patch-ad
@@ -5,7 +5,7 @@
else
ac_save_LIBS="$LIBS"
-LIBS="-lintl $LIBS"
-+LIBS="-L/usr/local/lib -lintl $LIBS"
++LIBS="-L$LOCALBASE/lib -lintl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2006 "configure"
#include "confdefs.h"
@@ -34,7 +34,7 @@
#include <$ac_hdr>
EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-+ac_try="$ac_cpp -I/usr/local/include conftest.$ac_ext >/dev/null 2>conftest.out"
++ac_try="$ac_cpp -I$LOCALBASE/include conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then