#!/bin/sh
# This is a shell archive
echo x www/dooble
mkdir -p www/dooble > /dev/null 2>&1
echo x www/dooble/Makefile
sed 's/^X//' > www/dooble/Makefile << 'SHAR_END'
X# $FreeBSD$
X
XPORTNAME=	dooble
XDISTVERSION=	2021.01.10
XCATEGORIES=	www
X
XMAINTAINER=	eric@camachat.org
XCOMMENT=	Dooble Web Browser
X
XLICENSE=	BSD3CLAUSE
XLICENSE_FILE=	${WRKSRC}/../LICENSE
X
XUSES=		desktop-file-utils compiler:c++17-lang qt:5 ssl tar xorg gmake qmake
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	textbrowser
X
XUSE_QT=		concurrent core gui network printsupport sql webengine widgets xml \
X		buildtools_build qmake_build
XUSE_XORG=	xcb
X
XWRKSRC_SUBDIR=	2.x
XQMAKE_SOURCE_PATH=	${PORTNAME}.pro
X
XPLIST_FILES=	bin/${PORTNAME} ${PREFIX}/share/pixmaps/${PORTNAME}.png ${PREFIX}/share/applications/${PORTNAME}.desktop
X
X.include <bsd.port.pre.mk>
X
XQT5_VER_MINOR=	${QT5_VERSION:C/^[0-9]+\.//:C/\..+$//}
X.if ${QT5_VER_MINOR} < 15
XBROKEN=		Qt 5.15 or higher required, using 5.${QT5_VER_MINOR} now
X.endif
X
Xdo-install:
X		${INSTALL_PROGRAM} ${WRKSRC}/Dooble ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
X		${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
X		${INSTALL_DATA} ${WRKSRC}/Icons/Logo/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
X		desktop-file-edit --remove-category=Web --add-category=Network --add-category=WebBrowser ${WRKSRC}/${PORTNAME}.desktop
X		desktop-file-edit --set-key=Exec --set-value=${PREFIX}/bin/${PORTNAME} ${WRKSRC}/${PORTNAME}.desktop
X		desktop-file-edit --set-icon=${PREFIX}/share/pixmaps/${PORTNAME}.png ${WRKSRC}/${PORTNAME}.desktop
X		${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop
X
X.include <bsd.port.post.mk>
SHAR_END
echo x www/dooble/distinfo
sed 's/^X//' > www/dooble/distinfo << 'SHAR_END'
XTIMESTAMP = 1613247687
XSHA256 (textbrowser-dooble-2021.01.10_GH0.tar.gz) = 727afd835ca7f3e7d00cece0c8b3e56d137d91607b1c9d68ff7e3f7823a2c652
XSIZE (textbrowser-dooble-2021.01.10_GH0.tar.gz) = 98371491
SHAR_END
echo x www/dooble/pkg-descr
sed 's/^X//' > www/dooble/pkg-descr << 'SHAR_END'
XDooble, the weather bug browser. Minimal, cute, and unusually stable.
X
X    - A Web browser!
X    - Basic themes.
X    - Compact.
X    - Cookie crusher.
X    - Custom search engines.
X    - Custom style sheets.
X    - Documented.
X    - Domain restrictions.
X    - Favorites.
X    - Floating digital clock.
X    - FreeBSD, Linux, Mac, Windows.
X    - Gopher support.
X    - Multiple private instances, including downloads.
X    - Original implementations of AES-256, Threefish-256.
X    - Qt-only dependency.
X    - Windows portable.
X
XWWW: https://textbrowser.github.io/dooble/
SHAR_END
exit
