mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
91cb688a95
PR: 15283 Submitted by: maintainer
69 lines
1.6 KiB
Plaintext
69 lines
1.6 KiB
Plaintext
--- config.h.orig Thu Dec 2 13:12:36 1999
|
|
+++ config.h Mon Dec 6 03:21:06 1999
|
|
@@ -49,18 +49,20 @@
|
|
/**********************************************************/
|
|
#ifdef makefile_parameter
|
|
|
|
-BIN_DIR = /usr/local/bin
|
|
-HELP_DIR = /usr/local/lib/w3m
|
|
-HELP_FILE = w3mhelp_ja.html
|
|
-SYS_LIBRARIES = -lgpm -lbsd -lncurses
|
|
+BIN_DIR = %%PREFIX%%/bin
|
|
+LIB_DIR = %%PREFIX%%/libexec/w3m
|
|
+HELP_DIR = %%PREFIX%%/share/doc/w3m
|
|
+HELP_DIR_JA = %%PREFIX%%/share/doc/ja/w3m
|
|
+HELP_FILE = w3mhelp_en.html
|
|
+SYS_LIBRARIES = -lncurses
|
|
LOCAL_LIBRARIES =
|
|
-CC = gcc
|
|
-MYCFLAGS = -g -I./gc
|
|
+#CC = gcc
|
|
+#MYCFLAGS = -g -I./gc
|
|
KEYBIND_SRC = keybind.c
|
|
KEYBIND_OBJ = keybind.o
|
|
EXT=
|
|
-GCLIB=gc/gc.a
|
|
-GCTARGET=gc/gc.a
|
|
+#GCLIB=gc/gc.a
|
|
+#GCTARGET=gc/gc.a
|
|
#else
|
|
|
|
|
|
@@ -68,21 +70,30 @@
|
|
|
|
#define JA 0
|
|
#define EN 1
|
|
+#undef JAPANESE
|
|
+#ifdef JAPANESE
|
|
#define LANG JA
|
|
#define KANJI_SYMBOLS
|
|
+#else
|
|
+#define LANG EN
|
|
+#endif
|
|
#define COLOR
|
|
#define MOUSE
|
|
-#define USE_GPM
|
|
+#undef USE_GPM
|
|
#define MENU
|
|
#define USE_COOKIE
|
|
#undef USE_SSL
|
|
|
|
-#define DEF_EDITOR "/bin/vi"
|
|
-#define DEF_MAILER "/bin/mail"
|
|
-#define DEF_EXT_BROWSER "/usr/local/bin/netscape"
|
|
+#define DEF_EDITOR "/usr/bin/vi"
|
|
+#define DEF_MAILER "/usr/bin/mail"
|
|
+#define DEF_EXT_BROWSER "%%PREFIX%%/bin/netscape"
|
|
|
|
-#define LIB_DIR "/usr/local/lib/w3m"
|
|
-#define HELP_FILE "w3mhelp.html"
|
|
+#define LIB_DIR "%%PREFIX%%/libexec/w3m"
|
|
+#ifdef JAPANESE
|
|
+#define HELP_FILE "%%PREFIX%%/share/doc/ja/w3m/w3mhelp_ja.html"
|
|
+#else
|
|
+#define HELP_FILE "%%PREFIX%%/share/doc/w3m/w3mhelp_en.html"
|
|
+#endif
|
|
#define W3MCONFIG "w3mconfig"
|
|
|
|
#define RC_DIR "~/.w3m/"
|