pkgsrc/www/netsurf/Makefile

71 lines
2.5 KiB
Makefile
Raw Normal View History

2021-05-24 21:49:01 +02:00
# $NetBSD: Makefile,v 1.95 2021/05/24 19:55:17 wiz Exp $
DISTNAME= netsurf-all-3.10
Update www/netsurf to netsurf-3.3, based on work done in pkgsrc-wip. Changes: NetSurf 3.3 released 15 Mar 2015 NetSurf 3.3 is primarily a bug-fix release. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the AmigaOS front ends has gained the beginnings of support for AmigaOS 3. We recommend all users upgrade. NetSurf 3.2 released 30 Aug 2014 NetSurf 3.2 is primarily a bug-fix release. In addition to fixes, a disc cache feature has been added, and a little work has been done to improve CSS3 support. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the GTK, AmigaOS and Framebuffer front ends. We recommend all users upgrade. NetSurf 3.1 released 26 Apr 2014 NetSurf 3.1 contains many improvements over the previous release. The highlights include much faster CSS selection performance, faster start up time, new look and feel to the treeviews (hotlist/bookmarks, global history and cookie manager), improved options handling, undo/redo support in textareas, and general improvement of forms. Also included are many other additions, optimisations and bug fixes. We recommend that all users upgrade. NetSurf 3.0 released 20 Apr 2013 NetSurf 3.0 contains many changes over the 2.x release series. The biggest difference is the use of our new Document Object Model library, LibDOM. This new library is a foundation that paves the way for us to implement a fully dynamic layout engine in the future. Other improvements in NetSurf 3.0 include completely new textarea support, ability to fetch and parse CSS in parallel with HTML documents, extensive behind-the-scenes refactoring, and a host of smaller changes and fixes. A more complete listing is available in the Change Log. NetSurf 2.9 released 28 Apr 2012 NetSurf 2.9 contains many improvements over the previous release. The most significant changes are new multi-tasking behaviour, optimised URL handling, fetcher optimisations, cache optimisations, and faster CSS selection. Full details in the change log. We recommend all users upgrade. NetSurf 2.8 released 21 Sep 2011 NetSurf 2.8 adds support for frames and iframes on all platforms, MIME type sniffing, and a new image cache. Image decoding can now be deferred until images are required for more optimal resource use and faster page load times. The release also incorporates many other new features, optimisations, improvements and bug fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.7 released 16 Apr 2011 NetSurf 2.7 contains many improvements over the previous release. The most significant change is the addition of core global history, bookmarks and cookie management features. Full details in the change log. We recommend all users upgrade. NetSurf 2.6 released 21 Sep 2010 NetSurf 2.6 is primarily a bug fix release. It contains some improvements to page rendering, fetching & caching, memory usage, as well as some front-end specific fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.5 released 24 Apr 2010 NetSurf 2.5 contains many improvements over the previous release. The major changes are the use of our brand new CSS parser and selection engine (LibCSS), and a newly designed cache for fetched content. Full details in the change log. We recommend all users upgrade. NetSurf 2.1 released 23 May 2009 NetSurf 2.1 is a bug fix release. It contains some improvements to page rendering as well as some front-end specific fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.0 released 25 Apr 2009 NetSurf 2 is a major update over the 1.x release series, and represents almost two years of development. New features include a new HTML parser, SVG support, PDF export, improved page layout and a more complete GTK interface. This is also the first release for our new framebuffer target and the native ports to AmigaOS, BeOS and Haiku.
2015-09-03 22:56:09 +02:00
PKGNAME= ${DISTNAME:S/-all//}
2021-05-24 21:49:01 +02:00
PKGREVISION= 4
CATEGORIES= www
MASTER_SITES= https://download.netsurf-browser.org/netsurf/releases/source-full/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.netsurf-browser.org/
COMMENT= Web browser for RISC OS and UNIX-like platforms
Update www/netsurf to netsurf-3.3, based on work done in pkgsrc-wip. Changes: NetSurf 3.3 released 15 Mar 2015 NetSurf 3.3 is primarily a bug-fix release. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the AmigaOS front ends has gained the beginnings of support for AmigaOS 3. We recommend all users upgrade. NetSurf 3.2 released 30 Aug 2014 NetSurf 3.2 is primarily a bug-fix release. In addition to fixes, a disc cache feature has been added, and a little work has been done to improve CSS3 support. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the GTK, AmigaOS and Framebuffer front ends. We recommend all users upgrade. NetSurf 3.1 released 26 Apr 2014 NetSurf 3.1 contains many improvements over the previous release. The highlights include much faster CSS selection performance, faster start up time, new look and feel to the treeviews (hotlist/bookmarks, global history and cookie manager), improved options handling, undo/redo support in textareas, and general improvement of forms. Also included are many other additions, optimisations and bug fixes. We recommend that all users upgrade. NetSurf 3.0 released 20 Apr 2013 NetSurf 3.0 contains many changes over the 2.x release series. The biggest difference is the use of our new Document Object Model library, LibDOM. This new library is a foundation that paves the way for us to implement a fully dynamic layout engine in the future. Other improvements in NetSurf 3.0 include completely new textarea support, ability to fetch and parse CSS in parallel with HTML documents, extensive behind-the-scenes refactoring, and a host of smaller changes and fixes. A more complete listing is available in the Change Log. NetSurf 2.9 released 28 Apr 2012 NetSurf 2.9 contains many improvements over the previous release. The most significant changes are new multi-tasking behaviour, optimised URL handling, fetcher optimisations, cache optimisations, and faster CSS selection. Full details in the change log. We recommend all users upgrade. NetSurf 2.8 released 21 Sep 2011 NetSurf 2.8 adds support for frames and iframes on all platforms, MIME type sniffing, and a new image cache. Image decoding can now be deferred until images are required for more optimal resource use and faster page load times. The release also incorporates many other new features, optimisations, improvements and bug fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.7 released 16 Apr 2011 NetSurf 2.7 contains many improvements over the previous release. The most significant change is the addition of core global history, bookmarks and cookie management features. Full details in the change log. We recommend all users upgrade. NetSurf 2.6 released 21 Sep 2010 NetSurf 2.6 is primarily a bug fix release. It contains some improvements to page rendering, fetching & caching, memory usage, as well as some front-end specific fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.5 released 24 Apr 2010 NetSurf 2.5 contains many improvements over the previous release. The major changes are the use of our brand new CSS parser and selection engine (LibCSS), and a newly designed cache for fetched content. Full details in the change log. We recommend all users upgrade. NetSurf 2.1 released 23 May 2009 NetSurf 2.1 is a bug fix release. It contains some improvements to page rendering as well as some front-end specific fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.0 released 25 Apr 2009 NetSurf 2 is a major update over the 1.x release series, and represents almost two years of development. New features include a new HTML parser, SVG support, PDF export, improved page layout and a more complete GTK interface. This is also the first release for our new framebuffer target and the native ports to AmigaOS, BeOS and Haiku.
2015-09-03 22:56:09 +02:00
LICENSE= gnu-gpl-v2 AND mit
2010-06-11 10:50:04 +02:00
BUILD_DEPENDS+= lemon>=1.0:../../devel/lemon
BUILD_DEPENDS+= re2c>=0.12:../../devel/re2c
BUILD_DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
Update www/netsurf to netsurf-3.3, based on work done in pkgsrc-wip. Changes: NetSurf 3.3 released 15 Mar 2015 NetSurf 3.3 is primarily a bug-fix release. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the AmigaOS front ends has gained the beginnings of support for AmigaOS 3. We recommend all users upgrade. NetSurf 3.2 released 30 Aug 2014 NetSurf 3.2 is primarily a bug-fix release. In addition to fixes, a disc cache feature has been added, and a little work has been done to improve CSS3 support. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the GTK, AmigaOS and Framebuffer front ends. We recommend all users upgrade. NetSurf 3.1 released 26 Apr 2014 NetSurf 3.1 contains many improvements over the previous release. The highlights include much faster CSS selection performance, faster start up time, new look and feel to the treeviews (hotlist/bookmarks, global history and cookie manager), improved options handling, undo/redo support in textareas, and general improvement of forms. Also included are many other additions, optimisations and bug fixes. We recommend that all users upgrade. NetSurf 3.0 released 20 Apr 2013 NetSurf 3.0 contains many changes over the 2.x release series. The biggest difference is the use of our new Document Object Model library, LibDOM. This new library is a foundation that paves the way for us to implement a fully dynamic layout engine in the future. Other improvements in NetSurf 3.0 include completely new textarea support, ability to fetch and parse CSS in parallel with HTML documents, extensive behind-the-scenes refactoring, and a host of smaller changes and fixes. A more complete listing is available in the Change Log. NetSurf 2.9 released 28 Apr 2012 NetSurf 2.9 contains many improvements over the previous release. The most significant changes are new multi-tasking behaviour, optimised URL handling, fetcher optimisations, cache optimisations, and faster CSS selection. Full details in the change log. We recommend all users upgrade. NetSurf 2.8 released 21 Sep 2011 NetSurf 2.8 adds support for frames and iframes on all platforms, MIME type sniffing, and a new image cache. Image decoding can now be deferred until images are required for more optimal resource use and faster page load times. The release also incorporates many other new features, optimisations, improvements and bug fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.7 released 16 Apr 2011 NetSurf 2.7 contains many improvements over the previous release. The most significant change is the addition of core global history, bookmarks and cookie management features. Full details in the change log. We recommend all users upgrade. NetSurf 2.6 released 21 Sep 2010 NetSurf 2.6 is primarily a bug fix release. It contains some improvements to page rendering, fetching & caching, memory usage, as well as some front-end specific fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.5 released 24 Apr 2010 NetSurf 2.5 contains many improvements over the previous release. The major changes are the use of our brand new CSS parser and selection engine (LibCSS), and a newly designed cache for fetched content. Full details in the change log. We recommend all users upgrade. NetSurf 2.1 released 23 May 2009 NetSurf 2.1 is a bug fix release. It contains some improvements to page rendering as well as some front-end specific fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.0 released 25 Apr 2009 NetSurf 2 is a major update over the 1.x release series, and represents almost two years of development. New features include a new HTML parser, SVG support, PDF export, improved page layout and a more complete GTK interface. This is also the first release for our new framebuffer target and the native ports to AmigaOS, BeOS and Haiku.
2015-09-03 22:56:09 +02:00
BUILD_TARGET= build
USE_TOOLS+= bison flex gmake perl:build pax pkg-config
MAKE_FLAGS+= TARGET=gtk3
SUBST_CLASSES+= ssl-certs
SUBST_STAGE.ssl-certs= pre-configure
SUBST_MESSAGE.ssl-certs= Fixing hardcoded paths for SSL certs
SUBST_FILES.ssl-certs= netsurf/frontends/beos/gui.cpp
SUBST_FILES.ssl-certs+= netsurf/test/data/Choices
SUBST_FILES.ssl-certs+= netsurf/test/data/Choices-all
SUBST_FILES.ssl-certs+= netsurf/test/data/Choices-full
SUBST_FILES.ssl-certs+= netsurf/test/data/Choices-short
SUBST_SED.ssl-certs= -e 's,/etc/ssl/certs,${SSLCERTS},'
# Avoid possible problems with already often defined HOST
MAKE_ENV+= BUILD="${MACHINE_GNU_ARCH}--${LOWER_OPSYS}"
MAKE_ENV+= HOST="${MACHINE_GNU_ARCH}--${LOWER_OPSYS}"
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= share/applications
INSTALLATION_DIRS+= share/netsurf
INSTALLATION_DIRS+= share/pixmaps
Update www/netsurf to netsurf-3.3, based on work done in pkgsrc-wip. Changes: NetSurf 3.3 released 15 Mar 2015 NetSurf 3.3 is primarily a bug-fix release. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the AmigaOS front ends has gained the beginnings of support for AmigaOS 3. We recommend all users upgrade. NetSurf 3.2 released 30 Aug 2014 NetSurf 3.2 is primarily a bug-fix release. In addition to fixes, a disc cache feature has been added, and a little work has been done to improve CSS3 support. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the GTK, AmigaOS and Framebuffer front ends. We recommend all users upgrade. NetSurf 3.1 released 26 Apr 2014 NetSurf 3.1 contains many improvements over the previous release. The highlights include much faster CSS selection performance, faster start up time, new look and feel to the treeviews (hotlist/bookmarks, global history and cookie manager), improved options handling, undo/redo support in textareas, and general improvement of forms. Also included are many other additions, optimisations and bug fixes. We recommend that all users upgrade. NetSurf 3.0 released 20 Apr 2013 NetSurf 3.0 contains many changes over the 2.x release series. The biggest difference is the use of our new Document Object Model library, LibDOM. This new library is a foundation that paves the way for us to implement a fully dynamic layout engine in the future. Other improvements in NetSurf 3.0 include completely new textarea support, ability to fetch and parse CSS in parallel with HTML documents, extensive behind-the-scenes refactoring, and a host of smaller changes and fixes. A more complete listing is available in the Change Log. NetSurf 2.9 released 28 Apr 2012 NetSurf 2.9 contains many improvements over the previous release. The most significant changes are new multi-tasking behaviour, optimised URL handling, fetcher optimisations, cache optimisations, and faster CSS selection. Full details in the change log. We recommend all users upgrade. NetSurf 2.8 released 21 Sep 2011 NetSurf 2.8 adds support for frames and iframes on all platforms, MIME type sniffing, and a new image cache. Image decoding can now be deferred until images are required for more optimal resource use and faster page load times. The release also incorporates many other new features, optimisations, improvements and bug fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.7 released 16 Apr 2011 NetSurf 2.7 contains many improvements over the previous release. The most significant change is the addition of core global history, bookmarks and cookie management features. Full details in the change log. We recommend all users upgrade. NetSurf 2.6 released 21 Sep 2010 NetSurf 2.6 is primarily a bug fix release. It contains some improvements to page rendering, fetching & caching, memory usage, as well as some front-end specific fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.5 released 24 Apr 2010 NetSurf 2.5 contains many improvements over the previous release. The major changes are the use of our brand new CSS parser and selection engine (LibCSS), and a newly designed cache for fetched content. Full details in the change log. We recommend all users upgrade. NetSurf 2.1 released 23 May 2009 NetSurf 2.1 is a bug fix release. It contains some improvements to page rendering as well as some front-end specific fixes. Full details in the change log. We recommend all users upgrade. NetSurf 2.0 released 25 Apr 2009 NetSurf 2 is a major update over the 1.x release series, and represents almost two years of development. New features include a new HTML parser, SVG support, PDF export, improved page layout and a more complete GTK interface. This is also the first release for our new framebuffer target and the native ports to AmigaOS, BeOS and Haiku.
2015-09-03 22:56:09 +02:00
BUILDLINK_TRANSFORM+= rm:-Werror
CFLAGS.NetBSD+= -D_NETBSD_SOURCE # needed for strcasestr(3) and strndup(3)
# Needed for the xxd utility
TOOL_DEPENDS+= vim-share-[0-9]*:../../editors/vim-share
SUBST_CLASSES+= bin
SUBST_STAGE.bin= pre-install
SUBST_MESSAGE.bin= Changing executable name in .desktop file
SUBST_FILES.bin= netsurf/frontends/gtk/res/netsurf-gtk.desktop
SUBST_SED.bin= -e 's,netsurf-gtk,netsurf-gtk3,g'
post-install:
${INSTALL_DATA} ${WRKSRC}/netsurf/frontends/gtk/res/netsurf.xpm \
${DESTDIR}${PREFIX}/share/pixmaps/netsurf.xpm
${INSTALL_DATA} ${WRKSRC}/netsurf/frontends/gtk/res/netsurf-gtk.desktop \
${DESTDIR}${PREFIX}/share/applications/netsurf-gtk.desktop
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gperf/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/adwaita-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"