aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/windowmaker-i18n
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>1998-11-25 18:44:01 +0800
committerflathill <flathill@FreeBSD.org>1998-11-25 18:44:01 +0800
commit02567388dcc21ca86c770d43d70351286f910ff7 (patch)
treee40627ba6a9ab912e1e4e2ce2f1412d8b77b5d51 /x11-wm/windowmaker-i18n
parent65e8bdc74a95fd59f28654e9b1ab558234d7a1b1 (diff)
downloadfreebsd-ports-graphics-02567388dcc21ca86c770d43d70351286f910ff7.tar.gz
freebsd-ports-graphics-02567388dcc21ca86c770d43d70351286f910ff7.tar.zst
freebsd-ports-graphics-02567388dcc21ca86c770d43d70351286f910ff7.zip
This is a GNUStep-compliant NeXTStep clone window manager with i18n extention
Based on ports/x11-wm/windowmaker.
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 e252cfa0feb..fc4ed92510d 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 46a3274c71e..7dfd2b272fc 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 917306ce2ae..343d79090ab 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 ddd82c9b2e9..cb627dfc4f7 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 84504b20604..e59bdd3de6b 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 f083d97dbf3..d567eb6836f 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