summaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
authorfredb <fredb>2000-03-23 17:56:44 +0000
committerfredb <fredb>2000-03-23 17:56:44 +0000
commiteba05af590174d259aa16ca1684bb0d9be2cd238 (patch)
tree54483572e4cb75f098693242b2ab36be15f942f1 /www/lynx-current
parent1f8affb6c1bdb61b782b8b5912194bd40a28d504 (diff)
downloadpkgsrc-eba05af590174d259aa16ca1684bb0d9be2cd238.tar.gz
Initial import of new "lynx-current" package, lynx-2.8.3dev22. Numerous
bug fixes and changes from 2.8.2. A few visible ones: * update documentation to reflect move from sol.slcc.edu to lynx.isc.org -PG * add FTP_PASSIVE option to lynx.cfg, allowing installer to defer decision of whether lynx uses passive ftp connection (adapted from patch by Bernhard Rosenkraenzer <bero@redhat.de>) -TD * change configure script defaults for --enable-persistent-cookies and --enable-alt-bindings to 'yes' -TD [For persistent cookies, PERSISTENT_COOKIES:TRUE must be set in lynx.cfg.] This package applies the latest moxienet patch to support `https' URI's, utilizing openssl-0.9.4. (Closes PR pkg/7288.) Also, garbage collects PASSIVE_FETCH--it's now a run time option, and installs all doc's and help files, including sample lynx.cfg, into ${LOCALBASE}/share/lynx. (Active config is still ${LOCALBASE}/etc/lynx.cfg.)
Diffstat (limited to 'www/lynx-current')
-rw-r--r--www/lynx-current/Makefile94
-rw-r--r--www/lynx-current/files/md55
-rw-r--r--www/lynx-current/pkg/COMMENT1
-rw-r--r--www/lynx-current/pkg/DESCR3
-rw-r--r--www/lynx-current/pkg/PLIST80
5 files changed, 183 insertions, 0 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
new file mode 100644
index 00000000000..2dc1a8ce885
--- /dev/null
+++ b/www/lynx-current/Makefile
@@ -0,0 +1,94 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/03/23 17:56:44 fredb Exp $
+#
+
+DISTNAME= lynx2.8.3dev.22
+PKGNAME= lynx-2.8.3dev.22
+CATEGORIES= www
+MASTER_SITES= http://lynx.isc.org/current/
+EXTRACT_SUFX= .tar.bz2
+
+PATCH_SITES= http://www.moxienet.com/lynx/
+PATCHFILES= lynx-283d17-ssl.patch.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= fb@enteract.com
+HOMEPAGE= http://lynx.browser.org/
+
+DEPENDS+= gettext-0.10.*:../../devel/gettext
+DEPENDS+= libslang-*:../../devel/libslang
+
+NO_PACKAGE= ${RESTRICTED}
+RESTRICTED= "Crypto; export-controlled"
+
+WRKSRC= ${WRKDIR}/lynx2-8-3
+
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-full
+MAKEFILE= makefile
+
+# For nls/gettext
+CONFIGURE_ARGS+= --enable-nls
+CONFIGURE_ARGS+= --with-nls-datadir=${PREFIX}/share
+CONFIGURE_ARGS+= --without-included-gettext
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
+
+# Curses/slang
+CONFIGURE_ARGS+= --enable-default-colors
+CONFIGURE_ARGS+= --enable-scrollbar
+CONFIGURE_ARGS+= --with-screen=slang
+CONFIGURE_ENV+= LIBS="-lm -ltermcap"
+
+# XXX Just for fun, to use ncurses instead of slang.
+#CONFIGURE_ARGS+= --enable-color-style
+#CONFIGURE_ARGS+= --with-screen=ncurses
+#DEPENDS+= ncurses-*:../../devel/ncurses
+
+# Install gzip'ed help files to ${PREFIX}/share/lynx
+CONFIGURE_ARGS+= --libdir="${PREFIX}/share/lynx"
+CONFIGURE_ARGS+= --enable-gzip-help --with-zlib
+
+# Miscellaneous
+CONFIGURE_ARGS+= --enable-externs
+CONFIGURE_ARGS+= --enable-source-cache
+
+# Experimental features
+CONFIGURE_ARGS+= --enable-file-upload
+CONFIGURE_ARGS+= --enable-justify-elts
+CONFIGURE_ARGS+= --enable-prettysrc
+CONFIGURE_ARGS+= --enable-read-eta
+
+.if !exists(/usr/bin/openssl)
+DEPENDS+= openssl-0.9.4:../../security/openssl
+SSLLIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE} -lssl -lcrypto
+SSLINCS= -I${LOCALBASE}/include -I${LOCALBASE}/include/openssl
+.else
+SSLLIBS= -lssl -lcrypto
+SSLINCS= -I/usr/include/openssl
+.endif
+
+post-configure:
+ (${ECHO}; \
+ ${ECHO} '#undef LYNX_CFG_FILE'; \
+ ${ECHO} '#define LYNX_CFG_FILE "${PREFIX}/etc/lynx.cfg"'; \
+ ${ECHO} '#undef LYNX_LSS_FILE'; \
+ ${ECHO} '#define LYNX_LSS_FILE "${PREFIX}/etc/lynx.lss"') \
+ >> ${WRKSRC}/userdefs.h
+ (${ECHO}; \
+ ${ECHO} 'SSL_LIBS= ${SSLLIBS}'; \
+ ${ECHO} 'SSL_DEFINES= -DUSE_SSL ${SSLINCS}') \
+ >> ${WRKSRC}/makefile
+ (${ECHO}; \
+ ${ECHO} 'INTLLIB= ${LOCALBASE}/lib/libintl.a'; \
+ ${ECHO} 'INTLDIR_CPPFLAGS= -I${LOCALBASE}/include') \
+ >> ${WRKSRC}/src/makefile
+
+post-install:
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/lynx
+ if [ ! -f ${PREFIX}/etc/lynx.cfg ]; then \
+ ${CP} ${PREFIX}/share/lynx/lynx.cfg ${PREFIX}/etc/; \
+ fi
+ if [ ! -f ${PREFIX}/etc/lynx.lss ]; then \
+ ${CP} ${PREFIX}/share/lynx/lynx_doc/samples/lynx.lss ${PREFIX}/etc/; \
+ fi
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/lynx-current/files/md5 b/www/lynx-current/files/md5
new file mode 100644
index 00000000000..b88b3f62519
--- /dev/null
+++ b/www/lynx-current/files/md5
@@ -0,0 +1,5 @@
+$NetBSD: md5,v 1.1.1.1 2000/03/23 17:56:44 fredb Exp $
+
+MD5 (lynx2.8.3dev.22.tar.bz2) = a0d95bc412a68f118de0f5dca33ed976
+MD5 (lynx-283d17-ssl.patch.gz) = a5bcfaf72753393d992eb8e56658a375
+MD5 (lynx2.8.3dev.18-ipv6.patch.gz) = fbc7d87682f3fa8d5b6fbed66de49f4c
diff --git a/www/lynx-current/pkg/COMMENT b/www/lynx-current/pkg/COMMENT
new file mode 100644
index 00000000000..11d86c59b20
--- /dev/null
+++ b/www/lynx-current/pkg/COMMENT
@@ -0,0 +1 @@
+Alphanumeric display oriented World-Wide Web Client
diff --git a/www/lynx-current/pkg/DESCR b/www/lynx-current/pkg/DESCR
new file mode 100644
index 00000000000..5d46780f5af
--- /dev/null
+++ b/www/lynx-current/pkg/DESCR
@@ -0,0 +1,3 @@
+lynx is a program which allows a user to access World-Wide Web servers
+and other information servers. It uses only ascii representation so
+that it can be used from ascii-terminals and dialin-lines.
diff --git a/www/lynx-current/pkg/PLIST b/www/lynx-current/pkg/PLIST
new file mode 100644
index 00000000000..a131735931f
--- /dev/null
+++ b/www/lynx-current/pkg/PLIST
@@ -0,0 +1,80 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/23 17:56:44 fredb Exp $
+bin/lynx
+man/man1/lynx.1
+share/locale/cs/LC_MESSAGES/lynx.mo
+share/locale/de/LC_MESSAGES/lynx.mo
+share/locale/es/LC_MESSAGES/lynx.mo
+share/locale/fr/LC_MESSAGES/lynx.mo
+share/locale/it/LC_MESSAGES/lynx.mo
+share/locale/ko/LC_MESSAGES/lynx.mo
+share/locale/nl/LC_MESSAGES/lynx.mo
+share/locale/no/LC_MESSAGES/lynx.mo
+share/locale/pl/LC_MESSAGES/lynx.mo
+share/locale/pt/LC_MESSAGES/lynx.mo
+share/locale/pt_BR/LC_MESSAGES/lynx.mo
+share/locale/ru/LC_MESSAGES/lynx.mo
+share/locale/sl/LC_MESSAGES/lynx.mo
+share/locale/sv/LC_MESSAGES/lynx.mo
+share/lynx/lynx.cfg
+share/lynx/lynx_doc/CHANGES
+share/lynx/lynx_doc/COPYHEADER
+share/lynx/lynx_doc/COPYING
+share/lynx/lynx_doc/PROBLEMS
+share/lynx/lynx_doc/README
+share/lynx/lynx_doc/samples/blue-background.lss
+share/lynx/lynx_doc/samples/cernrules.txt
+share/lynx/lynx_doc/samples/installdirs.html
+share/lynx/lynx_doc/samples/jumpsUnix.html
+share/lynx/lynx_doc/samples/jumpsVMS.html
+share/lynx/lynx_doc/samples/lynx-keymaps
+share/lynx/lynx_doc/samples/lynx.com
+share/lynx/lynx_doc/samples/lynx.lss
+share/lynx/lynx_doc/samples/mailcap
+share/lynx/lynx_doc/samples/mime.types
+share/lynx/lynx_doc/samples/mild-colors.lss
+share/lynx/lynx_doc/test/ALT88592.html
+share/lynx/lynx_doc/test/ISO_LATIN1_test.html
+share/lynx/lynx_doc/test/README.txt
+share/lynx/lynx_doc/test/TestComment.html
+share/lynx/lynx_doc/test/c1.html
+share/lynx/lynx_doc/test/iso8859-1.html
+share/lynx/lynx_doc/test/iso88592.html
+share/lynx/lynx_doc/test/raw8bit.html
+share/lynx/lynx_doc/test/sgml.html
+share/lynx/lynx_doc/test/spaces.html
+share/lynx/lynx_doc/test/tabtest.html
+share/lynx/lynx_doc/test/unicode.html
+share/lynx/lynx_help/COPYING
+share/lynx/lynx_help/COPYHEADER
+share/lynx/lynx_help/Lynx_users_guide.html.gz
+share/lynx/lynx_help/about_lynx.html.gz
+share/lynx/lynx_help/lynx-dev.html.gz
+share/lynx/lynx_help/lynx_help_main.html.gz
+share/lynx/lynx_help/lynx_url_support.html.gz
+share/lynx/lynx_help/keystrokes/alt_edit_help.html.gz
+share/lynx/lynx_help/keystrokes/bashlike_edit_help.html.gz
+share/lynx/lynx_help/keystrokes/bookmark_help.html.gz
+share/lynx/lynx_help/keystrokes/cookie_help.html.gz
+share/lynx/lynx_help/keystrokes/dired_help.html.gz
+share/lynx/lynx_help/keystrokes/edit_help.html.gz
+share/lynx/lynx_help/keystrokes/environments.html.gz
+share/lynx/lynx_help/keystrokes/follow_help.html.gz
+share/lynx/lynx_help/keystrokes/gopher_types_help.html.gz
+share/lynx/lynx_help/keystrokes/history_help.html.gz
+share/lynx/lynx_help/keystrokes/keystroke_help.html.gz
+share/lynx/lynx_help/keystrokes/movement_help.html.gz
+share/lynx/lynx_help/keystrokes/option_help.html.gz
+share/lynx/lynx_help/keystrokes/other_help.html.gz
+share/lynx/lynx_help/keystrokes/print_help.html.gz
+share/lynx/lynx_help/keystrokes/scrolling_help.html.gz
+share/lynx/lynx_help/keystrokes/test_display.html.gz
+share/lynx/lynx_help/keystrokes/visited_help.html.gz
+share/lynx/lynx_help/keystrokes/xterm_help.html.gz
+@exec if [ ! -f %D/etc/lynx.cfg ]; then cp %D/share/lynx/lynx.cfg %D/etc/; fi
+@exec if [ ! -f %D/etc/lynx.lss ]; then cp %D/share/lynx/lynx_doc/samples/lynx.lss %D/etc/; fi
+@dirrm share/lynx/lynx_help/keystrokes
+@dirrm share/lynx/lynx_help
+@dirrm share/lynx/lynx_doc/samples
+@dirrm share/lynx/lynx_doc/test
+@dirrm share/lynx/lynx_doc
+@dirrm share/lynx/