diff options
author | sf <sf@FreeBSD.org> | 2001-07-22 02:21:56 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-07-22 02:21:56 +0800 |
commit | a875edf66052cb4841ac8a910ab338f19cdce59d (patch) | |
tree | 5ea13460c48fd8665bc60c020480c418f5f0b79b /www/w3m/files | |
parent | b7b40849a673db00f95fe5f0ced1dcfb26d6c38d (diff) | |
download | freebsd-ports-graphics-a875edf66052cb4841ac8a910ab338f19cdce59d.tar.gz freebsd-ports-graphics-a875edf66052cb4841ac8a910ab338f19cdce59d.tar.zst freebsd-ports-graphics-a875edf66052cb4841ac8a910ab338f19cdce59d.zip |
o add w3m-image, w3m with Imlib-based inline image browsing capability.
o remove w3m-ssl, w3m has SSL support by default now.
PR: 28996, 28997, 28998
Submitted by: maintainer
Diffstat (limited to 'www/w3m/files')
-rw-r--r-- | www/w3m/files/extra-patch-XMakefile | 60 | ||||
-rw-r--r-- | www/w3m/files/extra-patch-XMakefile.noimg (renamed from www/w3m/files/patch-ae) | 0 | ||||
-rw-r--r-- | www/w3m/files/patch-aa | 9 |
3 files changed, 66 insertions, 3 deletions
diff --git a/www/w3m/files/extra-patch-XMakefile b/www/w3m/files/extra-patch-XMakefile new file mode 100644 index 00000000000..1181ea69d3c --- /dev/null +++ b/www/w3m/files/extra-patch-XMakefile @@ -0,0 +1,60 @@ +--- XMakefile.orig Mon Jul 16 11:14:38 2001 ++++ XMakefile Mon Jul 16 11:14:47 2001 +@@ -22,16 +22,16 @@ + + INCLUDES=-I. + +-DEFS=$(INCLUDES) # -DDEBUG +-CFLAGS=$(MYCFLAGS) $(DEFS) +-LIBS=-L. -lindep $(GCLIB) $(MATHLIB) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) ++DEFS+=$(INCLUDES) # -DDEBUG ++CFLAGS+=$(DEFS) ++LIBS+=-L. -lindep -lgc $(MATHLIB) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) + INSTALL=sh install.sh + INSTALL2=sh ../install.sh + AR=ar + + all: $(TARGETS) + +-$(TARGET): $(ALLOBJS) $(ALIB) $(GCTARGET) ++$(TARGET): $(ALLOBJS) $(ALIB) + $(CC) $(CFLAGS) -o $(TARGET) $(ALLOBJS) $(LIBS) + + $(ALIB): $(ALIBOBJS) +@@ -86,24 +86,24 @@ + install: $(TARGETS) + -$(MKDIR) $(DESTDIR)$(BIN_DIR) + -$(MKDIR) $(DESTDIR)$(HELP_DIR) ++ -$(MKDIR) $(DESTDIR)$(HELP_DIR_JA) + -$(MKDIR) $(DESTDIR)$(LIB_DIR) +- $(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(BIN_DIR)/$(TARGET) +- $(INSTALL) -m 644 w3mhelp-w3m_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-w3m_en.html +- $(INSTALL) -m 644 w3mhelp-w3m_ja.html $(DESTDIR)$(HELP_DIR)/w3mhelp-w3m_ja.html +- $(INSTALL) -m 644 w3mhelp-lynx_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_en.html +- $(INSTALL) -m 644 w3mhelp-lynx_ja.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_ja.html +- $(INSTALL) -m 644 $(HELP_FILE) $(DESTDIR)$(HELP_DIR)/w3mhelp.html +- for d in $(BOOKMARKER) $(HELPER) $(IMGDISPLAY) $(IMGSIZE); \ +- do $(INSTALL) -m 755 $$d $(DESTDIR)$(LIB_DIR)/$$d; done +- (cd scripts; for i in *.cgi; do $(INSTALL2) -m 755 $$i $(DESTDIR)$(LIB_DIR)/$$i; done) ++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BIN_DIR)/$(TARGET) ++ $(BSD_INSTALL_DATA) w3mhelp-w3m_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-w3m_en.html ++ $(BSD_INSTALL_DATA) w3mhelp-w3m_ja.html $(DESTDIR)$(HELP_DIR_JA)/w3mhelp-w3m_ja.html ++ $(BSD_INSTALL_DATA) w3mhelp-lynx_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_en.html ++ $(BSD_INSTALL_DATA) w3mhelp-lynx_ja.html $(DESTDIR)$(HELP_DIR_JA)/w3mhelp-lynx_ja.html ++ for d in $(BOOKMARKER) $(HELPER) $(IMGDISPLAY) $(IMGSIZE); do $(BSD_INSTALL_PROGRAM) $$d $(DESTDIR)$(LIB_DIR)/$$d; done ++ cd scripts; for i in *.cgi; do $(BSD_INSTALL_SCRIPT) $$i $(DESTDIR)$(LIB_DIR)/$$i; done + + uninstall: + -$(RM) $(BIN_DIR)/$(TARGET) + -$(RM) $(HELP_DIR)/w3mhelp-lynx_en.html +- -$(RM) $(HELP_DIR)/w3mhelp-lynx_ja.html ++ -$(RM) $(HELP_DIR_JA)/w3mhelp-lynx_ja.html + -$(RM) $(HELP_DIR)/w3mhelp-w3m_en.html +- -$(RM) $(HELP_DIR)/w3mhelp-w3m_ja.html +- -$(RM) $(HELP_DIR)/w3mhelp.html ++ -$(RM) $(HELP_DIR_JA)/w3mhelp-w3m_ja.html ++ -$(RM) $(LIB_DIR)/$(BOOKMARKER) ++ -$(RM) $(LIB_DIR)/$(HELPER) + + clean: sweep + rm -f *.o *.a $(TARGETS) mktable$(EXT) diff --git a/www/w3m/files/patch-ae b/www/w3m/files/extra-patch-XMakefile.noimg index 0fc2a7566d2..0fc2a7566d2 100644 --- a/www/w3m/files/patch-ae +++ b/www/w3m/files/extra-patch-XMakefile.noimg diff --git a/www/w3m/files/patch-aa b/www/w3m/files/patch-aa index 96befedc467..48db944a996 100644 --- a/www/w3m/files/patch-aa +++ b/www/w3m/files/patch-aa @@ -1,5 +1,5 @@ ---- config.h.orig Fri Mar 23 11:49:44 2001 -+++ config.h Fri Mar 23 15:20:22 2001 +--- config.h.orig Mon Jul 16 11:23:48 2001 ++++ config.h Mon Jul 16 11:24:21 2001 @@ -18,7 +18,7 @@ goto-next-mark (ESC p), goto-next-mark (ESC n) and mark-by-regexp ("). @@ -63,7 +63,7 @@ RANLIB=ranlib MKDIR=mkdir -p VERSION=0.2.1 -@@ -120,26 +115,36 @@ +@@ -120,26 +115,39 @@ #define JA 0 #define EN 1 @@ -102,6 +102,9 @@ +#define DEF_MAILER "/usr/bin/mail" +#define DEF_EXT_BROWSER "%%PREFIX%%/bin/netscape" + ++#define IMGSIZE "w3mimgsize" ++#define IMGDISPLAY "w3mimgdisplay" ++ +#define LIB_DIR "%%PREFIX%%/libexec/w3m" +#ifdef JAPANESE +#define HELP_FILE "%%PREFIX%%/share/doc/ja/w3m/w3mhelp-w3m_ja.html" |