Skip to content

Commit 4d5e61d

Browse files
committed
www/dillo-cxx98: Import dillo-3.1.0
This is the last version that builds without a C++11 compiler. Tested on: Darwin 10.4 PowerPC NetBSD 10.1 amd64
1 parent 32cd53e commit 4d5e61d

File tree

6 files changed

+108
-0
lines changed

6 files changed

+108
-0
lines changed

www/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ SUBDIR+= davical
103103
SUBDIR+= ddgr
104104
SUBDIR+= deforaos-surfer
105105
SUBDIR+= dillo
106+
SUBDIR+= dillo-cxx98
106107
SUBDIR+= drraw
107108
SUBDIR+= drupal7
108109
SUBDIR+= drupal9

www/dillo-cxx98/DESCR

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A very small and fast graphical web browser using FLTK-1.3.

www/dillo-cxx98/Makefile

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# $NetBSD: Makefile,v 1.91 2024/05/11 12:07:13 nia Exp $
2+
3+
DISTNAME= dillo-3.1.0
4+
CATEGORIES= www
5+
MASTER_SITES= ${MASTER_SITE_GITHUB:=dillo-browser/}
6+
GITHUB_TAG= v${PKGVERSION_NOREV}
7+
8+
MAINTAINER= pkgsrc-users@NetBSD.org
9+
HOMEPAGE= https://dillo-browser.github.io/
10+
COMMENT= Very small and fast graphical web-browser
11+
LICENSE= gnu-gpl-v3
12+
13+
USE_LANGUAGES= c c++
14+
GNU_CONFIGURE= yes
15+
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
16+
17+
REPLACE_PERL+= dillo-install-hyphenation
18+
USE_TOOLS+= perl:run wget:run
19+
20+
PKG_SYSCONFSUBDIR= dillo
21+
EGDIR= ${PREFIX}/share/examples/dillo
22+
CONF_FILES= ${EGDIR}/dillorc ${PKG_SYSCONFDIR}/dillorc
23+
CONF_FILES+= ${EGDIR}/dpidrc ${PKG_SYSCONFDIR}/dpidrc
24+
CONF_FILES+= ${EGDIR}/keysrc ${PKG_SYSCONFDIR}/keysrc
25+
CONF_FILES+= ${EGDIR}/domainrc ${PKG_SYSCONFDIR}/domainrc
26+
27+
INSTALLATION_DIRS= share/doc/dillo ${EGDIR}
28+
29+
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
30+
31+
USE_TOOLS+= aclocal autoconf automake autoreconf gmake perl tar
32+
33+
.include "options.mk"
34+
35+
pre-configure:
36+
cd ${WRKSRC} && autoreconf -fi
37+
38+
post-install:
39+
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/dillo
40+
${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/dillo
41+
42+
.include "../../converters/libiconv/buildlink3.mk"
43+
.include "../../devel/zlib/buildlink3.mk"
44+
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
45+
.include "../../graphics/png/buildlink3.mk"
46+
.include "../../mk/jpeg.buildlink3.mk"
47+
.include "../../x11/fltk13/buildlink3.mk"
48+
49+
.include "../../mk/pthread.buildlink3.mk"
50+
.include "../../mk/bsd.pkg.mk"

www/dillo-cxx98/PLIST

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
@comment $NetBSD: PLIST,v 1.20 2024/05/07 18:06:35 abs Exp $
2+
bin/dillo
3+
bin/dillo-install-hyphenation
4+
bin/dpid
5+
bin/dpidc
6+
lib/dillo/dpi/bookmarks/bookmarks.dpi
7+
lib/dillo/dpi/cookies/cookies.dpi
8+
lib/dillo/dpi/datauri/datauri.filter.dpi
9+
lib/dillo/dpi/downloads/downloads.dpi
10+
lib/dillo/dpi/file/file.dpi
11+
lib/dillo/dpi/ftp/ftp.filter.dpi
12+
lib/dillo/dpi/hello/hello.filter.dpi
13+
lib/dillo/dpi/vsource/vsource.filter.dpi
14+
man/man1/dillo.1
15+
share/applications/dillo.desktop
16+
share/doc/dillo/Cookies.txt
17+
share/doc/dillo/README
18+
share/doc/dillo/user_help.html
19+
share/examples/dillo/dillorc
20+
share/examples/dillo/domainrc
21+
share/examples/dillo/dpidrc
22+
share/examples/dillo/hsts_preload
23+
share/examples/dillo/keysrc
24+
share/icons/hicolor/128x128/apps/dillo.png
25+
share/icons/hicolor/48x48/apps/dillo.png

www/dillo-cxx98/distinfo

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$NetBSD: distinfo,v 1.43 2024/05/07 18:06:35 abs Exp $
2+
3+
BLAKE2s (dillo-3.1.0.tar.gz) = e15d9a6dafa97a6140047df208647e46675a8fa93f3eb287ff81b77fb150064f
4+
SHA512 (dillo-3.1.0.tar.gz) = c34995a9b7911458f962b1f7424a06a4b95ad8a3f01a3e84ecbf19fa6e6fd10992c5536712e4942ab45b2137e543e1d383751ffc50b58f95d4da9f5891d05c61
5+
Size (dillo-3.1.0.tar.gz) = 1514218 bytes

www/dillo-cxx98/options.mk

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# $NetBSD: options.mk,v 1.7 2024/05/07 18:06:35 abs Exp $
2+
3+
PKG_OPTIONS_VAR= PKG_OPTIONS.dillo
4+
PKG_SUPPORTED_OPTIONS= inet6 ssl
5+
PKG_SUGGESTED_OPTIONS= inet6 ssl
6+
7+
.include "../../mk/bsd.options.mk"
8+
9+
.if !empty(PKG_OPTIONS:Minet6)
10+
CONFIGURE_ARGS+= --enable-ipv6
11+
.endif
12+
13+
.if !empty(PKG_OPTIONS:Mssl)
14+
CONFIGURE_ARGS+= --enable-tls
15+
LIBS+= -lssl
16+
.include "../../security/openssl/buildlink3.mk"
17+
18+
SUBST_CLASSES+= sslcerts
19+
SUBST_MESSAGE.sslcerts= Fixing SSL certificate directory.
20+
SUBST_FILES.sslcerts= src/IO/tls_openssl.c src/IO/tls_mbedtls.c
21+
SUBST_STAGE.sslcerts= post-extract
22+
SUBST_SED.sslcerts= -e 's,"/etc/ssl/certs,"${SSLCERTS},'
23+
24+
.else
25+
CONFIGURE_ARGS+= --disable-ssl
26+
.endif

0 commit comments

Comments
 (0)