From 8615b2ea01fdef0d148d55bc9f00eb4e2118f6a8 Mon Sep 17 00:00:00 2001 From: flathill Date: Sat, 5 Dec 1998 10:41:03 +0000 Subject: more KOREAN support use LOCALBASE instead of /usr/local in patches/patch-* --- x11-wm/windowmaker-i18n/Makefile | 13 +++++++++---- x11-wm/windowmaker-i18n/distinfo | 2 ++ x11-wm/windowmaker-i18n/files/patch-ad | 4 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) (limited to 'x11-wm') 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 -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 -- cgit