mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
c8e30c553c
PR: ports/19779 Submitted by: Maintainer
73 lines
1.8 KiB
Plaintext
73 lines
1.8 KiB
Plaintext
--- config.h.orig Wed Jun 14 19:49:48 2000
|
|
+++ config.h Fri Jul 7 18:59:48 2000
|
|
@@ -69,20 +69,16 @@
|
|
/**********************************************************/
|
|
#ifdef makefile_parameter
|
|
|
|
-BIN_DIR = /usr/local/bin
|
|
-HELP_DIR = /usr/local/lib/w3m
|
|
-LIB_DIR = /usr/local/lib/w3m
|
|
-HELP_FILE = w3mhelp-w3m_ja.html
|
|
-SYS_LIBRARIES = -lgpm -lbsd -lnsl -lncurses -L/usr/local/ssl/lib -lssl -lcrypto
|
|
+BIN_DIR = %%PREFIX%%/bin
|
|
+HELP_DIR = %%PREFIX%%/share/doc/w3m
|
|
+HELP_DIR_JA = %%PREFIX%%/share/doc/ja/w3m
|
|
+LIB_DIR = %%PREFIX%%/libexec/w3m
|
|
+SYS_LIBRARIES = -lncurses
|
|
LOCAL_LIBRARIES =
|
|
-CC = gcc
|
|
-MYCFLAGS = -O -I./gc -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
|
|
KEYBIND_SRC = keybind.c
|
|
KEYBIND_OBJ = keybind.o
|
|
EXT=
|
|
MATHLIB=-lm
|
|
-GCLIB=gc/gc.a
|
|
-GCTARGET=gc/gc.a
|
|
RANLIB=ranlib
|
|
MKDIR=mkdir -p
|
|
VERSION=0.1.11-pre
|
|
@@ -94,26 +90,34 @@
|
|
|
|
#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_SYSMOUSE
|
|
+#undef USE_GPM
|
|
+#define USE_SYSMOUSE
|
|
#define MENU
|
|
#define USE_COOKIE
|
|
-#define USE_SSL
|
|
+#undef USE_SSL
|
|
#undef USE_SSL_VERIFY
|
|
#undef FTPPASS_HOSTNAMEGEN
|
|
#undef SHOW_PARAMS
|
|
|
|
-#define DEF_EDITOR "/bin/vi"
|
|
-#define DEF_MAILER "/bin/mail"
|
|
-#define DEF_EXT_BROWSER "/usr/X11R6/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_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-w3m_ja.html"
|
|
+#else
|
|
+#define HELP_FILE "%%PREFIX%%/share/doc/w3m/w3mhelp-w3m_en.html"
|
|
+#endif
|
|
#define W3MCONFIG "w3mconfig"
|
|
|
|
#define RC_DIR "~/.w3m/"
|