Skip to content

Commit

Permalink
update to elinks 0.11.0
Browse files Browse the repository at this point in the history
from maintainer James Prevatt <jprevatt+bsd at paunix.org>
  • Loading branch information
Nikolay Sturm committed Jan 29, 2006
1 parent b09a868 commit 5997e7d
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 36 deletions.
31 changes: 15 additions & 16 deletions www/elinks/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.3 2005/10/22 23:55:20 espie Exp $
# $OpenBSD: Makefile,v 1.4 2006/01/29 15:41:00 sturm Exp $

COMMENT= "full-featured text WWW browser"
DISTNAME= elinks-0.10.5
PKGNAME= ${DISTNAME}p0
DISTNAME= elinks-0.11.0
EXTRACT_SUFX= .tar.bz2
CATEGORIES= www
MASTER_SITES= http://elinks.or.cz/download/
MASTER_SITES= http://elinks.cz/download/

HOMEPAGE= http://elinks.or.cz/
HOMEPAGE= http://elinks.cz/

MAINTAINER= James Prevatt <[email protected]>

Expand All @@ -18,20 +17,24 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes

CONFIGURE_STYLE= gnu
BUILD_DEPENDS= :automake-1.4.*:devel/automake/1.4
CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-bzlib \
--disable-xbel \
--enable-gopher \
--with-libiconv=${LOCALBASE}
LIB_DEPENDS+= bz2::archivers/bzip2
USE_GMAKE= Yes

RUN_DEPENDS= ::devel/gettext
WANTLIB= crypto c z ssl
MODULES= converters/libiconv

FLAVORS= gopher lua no_x11
FLAVORS= lua no_x11
FLAVOR?=

.if ${FLAVOR:L:Mgopher}
CONFIGURE_ARGS+= --enable-gopher
.endif

.if ${FLAVOR:L:Mlua}
CONFIGURE_ARGS+= --with-lua
LIB_DEPENDS+= lua.5,lualib.5::lang/lua
WANTLIB+= m
.else
Expand All @@ -41,13 +44,9 @@ CONFIGURE_ARGS+= --without-lua
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x
.else
CONFIGURE_ARGS+= --with-x
USE_X11= Yes
WANTLIB+= X11
.endif

post-patch:
@cd ${WRKSRC} && automake-1.4 -a -c

REGRESS_IS_INTERACTIVE= Yes

.include <bsd.port.mk>
8 changes: 4 additions & 4 deletions www/elinks/distinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MD5 (elinks-0.10.5.tar.bz2) = d19fea8cddd1c64ae890319650dce1ff
RMD160 (elinks-0.10.5.tar.bz2) = f1b54cfa1eb4375a20b4b4e1a6edcc589739c3a2
SHA1 (elinks-0.10.5.tar.bz2) = f05fcb5194bd5a6b43ed4bc09880de7577cbcce0
SIZE (elinks-0.10.5.tar.bz2) = 2357709
MD5 (elinks-0.11.0.tar.bz2) = 9154f493f544af31ae31ec1dd203d315
RMD160 (elinks-0.11.0.tar.bz2) = ff95458cab4890ab724d823dc78e6d3d7b871b3d
SHA1 (elinks-0.11.0.tar.bz2) = 8d6c0aac00c8e79dd654e13807be7e1a50a8dec1
SIZE (elinks-0.11.0.tar.bz2) = 2575870
9 changes: 0 additions & 9 deletions www/elinks/patches/patch-Makefile_base

This file was deleted.

14 changes: 14 additions & 0 deletions www/elinks/patches/patch-configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$OpenBSD: patch-configure,v 1.1 2006/01/29 15:41:00 sturm Exp $
--- configure.orig Sun Jan 1 11:39:43 2006
+++ configure Wed Jan 4 14:18:10 2006
@@ -22496,10 +22496,6 @@ ALL_CFLAGS="$CFLAGS $CPPFLAGS"



-if test $(`which tput` colors) -ge 4; then
- MAKE_COLOR=1
-
-fi


ac_config_files="$ac_config_files Makefile.config contrib/elinks.spec contrib/lua/hooks.lua contrib/conv/w3m2links.awk doc/man/man1/elinks.1 src/intl/gettext/ref-add.sed src/intl/gettext/ref-del.sed"
15 changes: 15 additions & 0 deletions www/elinks/patches/patch-src_cache_dialogs_c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$OpenBSD: patch-src_cache_dialogs_c,v 1.1 2006/01/29 15:41:00 sturm Exp $
--- src/cache/dialogs.c.orig Sun Jan 1 11:39:36 2006
+++ src/cache/dialogs.c Wed Jan 4 13:28:54 2006
@@ -82,9 +82,9 @@ get_cache_entry_info(struct listbox_item
}
}

- add_format_to_string(&msg, "\n%s: %" PRId64, _("Size", term),
+ add_format_to_string(&msg, "\n%s: %lld", _("Size", term),
cached->length);
- add_format_to_string(&msg, "\n%s: %" PRId64, _("Loaded size", term),
+ add_format_to_string(&msg, "\n%s: %lld", _("Loaded size", term),
cached->data_size);
if (cached->content_type) {
add_format_to_string(&msg, "\n%s: %s", _("Content type", term),
12 changes: 12 additions & 0 deletions www/elinks/patches/patch-src_dialogs_document_c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$OpenBSD: patch-src_dialogs_document_c,v 1.1 2006/01/29 15:41:00 sturm Exp $
--- src/dialogs/document.c.orig Wed Jan 4 13:29:51 2006
+++ src/dialogs/document.c Wed Jan 4 13:30:05 2006
@@ -152,7 +152,7 @@ document_info_dialog(struct session *ses
if (cached) {
unsigned char *a;

- add_format_to_string(&msg, "\n%s: %" PRId64,
+ add_format_to_string(&msg, "\n%s: %lld",
_("Size", term), cached->length);

if (cached->incomplete) {
14 changes: 14 additions & 0 deletions www/elinks/patches/patch-src_intl_gettext_Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$OpenBSD: patch-src_intl_gettext_Makefile,v 1.1 2006/01/29 15:41:00 sturm Exp $
--- src/intl/gettext/Makefile.orig Sun Jan 1 11:39:36 2006
+++ src/intl/gettext/Makefile Wed Jan 4 14:17:41 2006
@@ -26,8 +26,8 @@ OBJS = \


# $(builddir)/charset.alias: $(srcdir)/config.charset
-$(builddir)/charset.alias: $(srcdir)config.charset
- $(SHELL) $(srcdir)/config.charset '$(host)' > [email protected]
+$(builddir)/charset.alias: config.charset
+ $(SHELL) config.charset '$(host)' > [email protected]
mv [email protected] $@

# FIXME: Building plural.c from plural.y on the fly doesn't work
1 change: 0 additions & 1 deletion www/elinks/pkg/DESCR
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ customizable and can be extended via Lua or Guile scripts. It is very
portable and runs on a variety of platforms.

Flavors:
gopher - build with gopher support
lua - build with Lua support
no_x11 - build without X11 support
9 changes: 3 additions & 6 deletions www/elinks/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1 2005/07/22 04:21:30 marco Exp $
@comment $OpenBSD: PLIST,v 1.2 2006/01/29 15:41:00 sturm Exp $
bin/elinks
@comment lib/charset.alias
@man man/man1/elinks.1
@man man/man5/elinks.conf.5
@man man/man5/elinkskeys.5
@comment share/locale/be/
@comment share/locale/be/LC_MESSAGES/
share/locale/be/LC_MESSAGES/elinks.mo
share/locale/bg/LC_MESSAGES/elinks.mo
@comment share/locale/ca/
@comment share/locale/ca/LC_MESSAGES/
share/locale/ca/LC_MESSAGES/elinks.mo
share/locale/cs/LC_MESSAGES/elinks.mo
share/locale/da/LC_MESSAGES/elinks.mo
Expand All @@ -31,14 +27,15 @@ share/locale/it/LC_MESSAGES/elinks.mo
@comment share/locale/lt/
@comment share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/elinks.mo
share/locale/nb/LC_MESSAGES/elinks.mo
share/locale/nl/LC_MESSAGES/elinks.mo
share/locale/no/LC_MESSAGES/elinks.mo
share/locale/pl/LC_MESSAGES/elinks.mo
share/locale/pt/LC_MESSAGES/elinks.mo
share/locale/pt_BR/LC_MESSAGES/elinks.mo
share/locale/ro/LC_MESSAGES/elinks.mo
share/locale/ru/LC_MESSAGES/elinks.mo
share/locale/sk/LC_MESSAGES/elinks.mo
share/locale/sr/LC_MESSAGES/elinks.mo
share/locale/sv/LC_MESSAGES/elinks.mo
share/locale/tr/LC_MESSAGES/elinks.mo
share/locale/uk/LC_MESSAGES/elinks.mo

0 comments on commit 5997e7d

Please sign in to comment.