summaryrefslogtreecommitdiff
path: root/x11-wm/windowmaker-i18n
diff options
context:
space:
mode:
authorSeiichirou Hiraoka <flathill@FreeBSD.org>1998-11-25 10:44:01 +0000
committerSeiichirou Hiraoka <flathill@FreeBSD.org>1998-11-25 10:44:01 +0000
commit40a55ad4a33cd0e436cf711519a03c7c405911fa (patch)
tree7069e483a6416d911308b6fd612526b04e6dd850 /x11-wm/windowmaker-i18n
parentChange libtiff shared lib to version 4.0 -- we've shipped 3.3 before, so 1.0 (diff)
This is a GNUStep-compliant NeXTStep clone window manager with i18n extention
Based on ports/x11-wm/windowmaker.
Notes
Notes: svn path=/head/; revision=14894
Diffstat (limited to 'x11-wm/windowmaker-i18n')
-rw-r--r--x11-wm/windowmaker-i18n/Makefile45
-rw-r--r--x11-wm/windowmaker-i18n/distinfo1
-rw-r--r--x11-wm/windowmaker-i18n/files/patch-ad117
-rw-r--r--x11-wm/windowmaker-i18n/pkg-comment2
-rw-r--r--x11-wm/windowmaker-i18n/pkg-descr5
-rw-r--r--x11-wm/windowmaker-i18n/pkg-plist22
6 files changed, 172 insertions, 20 deletions
diff --git a/x11-wm/windowmaker-i18n/Makefile b/x11-wm/windowmaker-i18n/Makefile
index e252cfa0feb3..fc4ed92510db 100644
--- a/x11-wm/windowmaker-i18n/Makefile
+++ b/x11-wm/windowmaker-i18n/Makefile
@@ -1,48 +1,59 @@
-# New ports collection makefile for: WindowMaker
+# New ports collection makefile for: WindowMaker with i18n extention
# Version required: 0.20.2
-# Date created: August 13, 1997
-# Whom: handy@physics.montana.edu
+# Date created: 24 Nov 1998
+# Whom: mac@jp.freebsd.org
#
-# $Id: Makefile,v 1.39 1998/11/25 05:06:27 jseger Exp $
+# $Id: Makefile,v 1.12 1998/11/25 03:57:40 kiri Exp $
DISTNAME= WindowMaker-0.20.2
-PKGNAME= windowmaker-0.20.2
+PKGNAME= windowmaker-i18n-0.20.2
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/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
+ 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
-MAINTAINER= handy@physics.montana.edu
+MAINTAINER= mac@jp.freebsd.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
gif.3:${PORTSDIR}/graphics/giflib \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.2:${PORTSDIR}/graphics/png \
- tiff.1:${PORTSDIR}/graphics/tiff34
+ tiff34.1:${PORTSDIR}/graphics/tiff34
+BUILD_DEPENDS= ${LOCALBASE}/lib/libintl.a:${PORTSDIR}/devel/gettext \
+ nkf:${PORTSDIR}/japanese/nkf
-BROKEN= upgrade
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= X11BASE=${X11BASE}
+CONFIGURE_ENV= X11BASE=${X11BASE} \
+ 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=${LOCALBASE}/lib/locale \
+ --with-nlsdir=${PREFIX}/share/locale \
--with-gfx-libs="-L${LOCALBASE}/lib" \
- --with-gfx-incs="-I${LOCALBASE}/include -I${LOCALBASE}/include" \
- --disable-debug
+ --with-gfx-incs="-I${LOCALBASE}/include/tiff34 -I${LOCALBASE}/include" \
+ --disable-debug --enable-kanji
MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \
wdwrite.1x wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x
DATAFILES= WindowMaker-data.tar.gz
+.include <bsd.port.pre.mk>
+
+post-extract:
+ @${GUNZIP_CMD} -c < ${_DISTDIR}/setlinguas-0.4.gz > ${WRKDIR}/setlinguas
+
post-patch:
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
post-install:
- ${MKDIR} ${PREFIX}/share/WindowMaker/Pixmaps/
- ${INSTALL_DATA} ${WRKDIR}/WindowMaker-data/pixmaps/* \
+ @${INSTALL_SCRIPT} ${WRKDIR}/setlinguas ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/WindowMaker/Pixmaps/
+ @${MKDIR} ${PREFIX}/share/WindowMaker/Sounds/
+ @${INSTALL_DATA} ${WRKDIR}/WindowMaker-data/pixmaps/* \
${PREFIX}/share/WindowMaker/Pixmaps/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-wm/windowmaker-i18n/distinfo b/x11-wm/windowmaker-i18n/distinfo
index 46a3274c71e7..7dfd2b272fc8 100644
--- a/x11-wm/windowmaker-i18n/distinfo
+++ b/x11-wm/windowmaker-i18n/distinfo
@@ -1,2 +1,3 @@
MD5 (WindowMaker-0.20.2.tar.gz) = 26f92b4697238911f51566530f1915a3
MD5 (WindowMaker-data.tar.gz) = 6ea0c37314ea9e9ab27e8bdf45a31a82
+MD5 (setlinguas-0.4.gz) = 21b3e4bb93b730f1c5f72bd9d73aae42
diff --git a/x11-wm/windowmaker-i18n/files/patch-ad b/x11-wm/windowmaker-i18n/files/patch-ad
index 917306ce2aea..343d79090ab7 100644
--- a/x11-wm/windowmaker-i18n/files/patch-ad
+++ b/x11-wm/windowmaker-i18n/files/patch-ad
@@ -1,5 +1,25 @@
---- configure.orig Fri Oct 23 06:49:55 1998
-+++ configure Sat Oct 24 12:58:13 1998
+--- configure.orig Fri Oct 23 21:49:55 1998
++++ configure Sun Nov 22 21:44:52 1998
+@@ -2000,7 +2000,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lintl $LIBS"
++LIBS="-L/usr/local/lib -lintl $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2006 "configure"
+ #include "confdefs.h"
+@@ -2100,8 +2100,8 @@
+
+
+
+-supported_locales="cs de es fr gl it ja ko nl no pt ru se tr fi hr el pl ro"
+-supported_wprefs_locales="pt hr fr ko ja"
++supported_locales="cs de es fr gl it ja_JP.EUC ja_JP.SJIS ko nl no pt ru se tr fi hr el pl ro"
++supported_wprefs_locales="pt hr fr ko ja_JP.EUC ja_JP.SJIS"
+
+ for lang in $LINGUAS; do
+ ok=0
@@ -3678,7 +3678,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -9,3 +29,96 @@
cat > conftest.$ac_ext <<EOF
#line 3684 "configure"
#include "confdefs.h"
+@@ -3778,14 +3778,14 @@
+
+ if test "$tif" = yes; then
+ my_libname=""
+- echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
+-echo "configure:3783: checking for TIFFGetVersion in -ltiff" >&5
+-ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
++ echo $ac_n "checking for TIFFGetVersion in -ltiff34""... $ac_c" 1>&6
++echo "configure:3783: checking for TIFFGetVersion in -ltiff34" >&5
++ac_lib_var=`echo tiff34'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-ltiff $GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lm $LIBS"
++LIBS="-ltiff34 $GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lm $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 3791 "configure"
+ #include "confdefs.h"
+@@ -3813,7 +3813,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- my_libok=yes my_libname="-ltiff"
++ my_libok=yes my_libname="-ltiff34"
+ else
+ echo "$ac_t""no" 1>&6
+ my_libok=no
+@@ -3821,14 +3821,14 @@
+
+ if test "$my_libok" = no; then
+ if test "$zlib" = "yes"; then
+- echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
+-echo "configure:3826: checking for TIFFGetVersion in -ltiff" >&5
+-ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
++ echo $ac_n "checking for TIFFGetVersion in -ltiff34""... $ac_c" 1>&6
++echo "configure:3826: checking for TIFFGetVersion in -ltiff34" >&5
++ac_lib_var=`echo tiff34'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-ltiff $GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lz -lm $LIBS"
++LIBS="-ltiff34 $GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lz -lm $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 3834 "configure"
+ #include "confdefs.h"
+@@ -3856,7 +3856,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- my_libok=yes my_libname="-ltiff -lz"
++ my_libok=yes my_libname="-ltiff34 -lz"
+ else
+ echo "$ac_t""no" 1>&6
+ my_libok=no
+@@ -3866,14 +3866,14 @@
+ fi
+
+ if test "$my_libok" = no; then
+- echo $ac_n "checking for TIFFGetVersion in -ltiff34""... $ac_c" 1>&6
+-echo "configure:3871: checking for TIFFGetVersion in -ltiff34" >&5
+-ac_lib_var=`echo tiff34'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
++ echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
++echo "configure:3871: checking for TIFFGetVersion in -ltiff" >&5
++ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-ltiff34 $GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lm $LIBS"
++LIBS="-ltiff $GFX_INC_PATH $GFX_LIB_PATH $XLFLAGS $XLIBS $GFXLIBS -lm $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 3879 "configure"
+ #include "confdefs.h"
+@@ -3901,7 +3901,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- my_libok=yes my_libname="-ltiff34"
++ my_libok=yes my_libname="-ltiff"
+ else
+ echo "$ac_t""no" 1>&6
+ my_libok=no
+@@ -4178,7 +4178,7 @@
+ #include "confdefs.h"
+ #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"
+ { (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
diff --git a/x11-wm/windowmaker-i18n/pkg-comment b/x11-wm/windowmaker-i18n/pkg-comment
index ddd82c9b2e95..cb627dfc4f73 100644
--- a/x11-wm/windowmaker-i18n/pkg-comment
+++ b/x11-wm/windowmaker-i18n/pkg-comment
@@ -1 +1 @@
-This window manager is a GNUStep-compliant NeXTStep clone.
+A GNUStep-compliant NeXTStep clone window manager with i18n extention
diff --git a/x11-wm/windowmaker-i18n/pkg-descr b/x11-wm/windowmaker-i18n/pkg-descr
index 84504b20604d..e59bdd3de6bc 100644
--- a/x11-wm/windowmaker-i18n/pkg-descr
+++ b/x11-wm/windowmaker-i18n/pkg-descr
@@ -4,3 +4,8 @@ UI's posessed by the NeXT STEP(tm) operating system. It has many qualities
that make it superior to AfterStep, although it is still in development, and
does lack features. When it is completed, it will be a GNUSTEP compliant
Windowmanager that requires no editing of messy configuration files.
+
+This port based on x11-wm/windowmaker ports skelton, enhanced i18n.
+If use first, execute "wmaker.inst" and "setlinguas you_choosed_language".
+you_choosed_language is example "japanese", "korean", etc. More info about
+setlinguas, see help of setlinguas.
diff --git a/x11-wm/windowmaker-i18n/pkg-plist b/x11-wm/windowmaker-i18n/pkg-plist
index f083d97dbf3d..d567eb6836f0 100644
--- a/x11-wm/windowmaker-i18n/pkg-plist
+++ b/x11-wm/windowmaker-i18n/pkg-plist
@@ -117,9 +117,11 @@ GNUstep/Apps/WPrefs.app/xpm/workspace.xpm
GNUstep/Apps/WPrefs.app/xpm/xis.xpm
bin/geticonset
bin/getstyle
+bin/setlinguas
bin/seticons
bin/setstyle
bin/wdwrite
+bin/wm-oldmenu2new
bin/wmaker
bin/wmaker.inst
bin/wmsetbg
@@ -281,6 +283,26 @@ share/WindowMaker/menu.tr
share/WindowMaker/plmenu
share/WindowMaker/wmmacros
@exec mkdir -p %B/Sounds
+share/locale/de/LC_MESSAGES/WindowMaker.mo
+share/locale/es/LC_MESSAGES/WindowMaker.mo
+share/locale/fi/LC_MESSAGES/WindowMaker.mo
+share/locale/fr/LC_MESSAGES/WindowMaker.mo
+share/locale/fr/LC_MESSAGES/WPrefs.mo
+share/locale/hr/LC_MESSAGES/WindowMaker.mo
+share/locale/hr/LC_MESSAGES/WPrefs.mo
+share/locale/it/LC_MESSAGES/WindowMaker.mo
+share/locale/ja_JP.EUC/LC_MESSAGES/WindowMaker.mo
+share/locale/ja_JP.EUC/LC_MESSAGES/WPrefs.mo
+share/locale/ja_JP.SJIS/LC_MESSAGES/WindowMaker.mo
+share/locale/ja_JP.SJIS/LC_MESSAGES/WPrefs.mo
+share/locale/ko/LC_MESSAGES/WindowMaker.mo
+share/locale/ko/LC_MESSAGES/WPrefs.mo
+share/locale/nl/LC_MESSAGES/WindowMaker.mo
+share/locale/no/LC_MESSAGES/WindowMaker.mo
+share/locale/pl/LC_MESSAGES/WindowMaker.mo
+share/locale/pt/LC_MESSAGES/WindowMaker.mo
+share/locale/pt/LC_MESSAGES/WPrefs.mo
+share/locale/ru/LC_MESSAGES/WindowMaker.mo
@dirrm share/WindowMaker/Themes
@dirrm share/WindowMaker/Styles
@dirrm share/WindowMaker/Sounds