Changeset View
Changeset View
Standalone View
Standalone View
deskutils/bookworm/Makefile
- This file was added.
PORTNAME= bookworm | |||||
DISTVERSION= 1.1.2 | |||||
CATEGORIES= deskutils | |||||
MAINTAINER= 0mp@FreeBSD.org | |||||
COMMENT= Simple, focused ebook reader | |||||
LICENSE= GPLv3 | |||||
LICENSE_FILE= ${WRKSRC}/COPYING | |||||
BUILD_DEPENDS= curl>0:ftp/curl \ | |||||
html2text>0:textproc/html2text \ | |||||
valac:lang/vala | |||||
LIB_DEPENDS= libappstream-glib.so:devel/appstream-glib \ | |||||
libgee-0.8.so:devel/libgee \ | |||||
libgranite.so:x11-toolkits/granite \ | |||||
libpoppler-glib.so:graphics/poppler-glib \ | |||||
libsoup-2.4.so:devel/libsoup \ | |||||
libwebkit2gtk-4.0.so:www/webkit2-gtk3 | |||||
RUN_DEPENDS= bash:shells/bash \ | |||||
pdftohtml:graphics/poppler-utils \ | |||||
unar:archivers/unarchiver \ | |||||
unzip:archivers/unzip | |||||
USES= desktop-file-utils gettext gnome meson pkgconfig \ | |||||
python:build,run shebangfix sqlite | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= babluboy | |||||
koobsUnsubmitted Not Done Inline Actions
koobs: - USES=python defaults to `build,run`, not necessary to specify.
- Does upstream declare… | |||||
Not Done Inline Actions
Thanks!
No, we patch in Python 3 support on our own. 0mp: > - USES=python defaults to `build,run`, not necessary to specify.
Thanks!
> - Does… | |||||
USE_GNOME= gdkpixbuf2 glib20 gtk30 libxml2 pango | |||||
GLIB_SCHEMAS= com.github.babluboy.bookworm.gschema.xml | |||||
Not Done Inline ActionsGroup USES/USE together, GH_*` can go in the next block koobs: Group `USES/USE together, `GH_*` can go in the next block | |||||
Not Done Inline ActionsThank you, koobs, but portclippy disagrees with this recommendation. I'll keep it as it is for now. 0mp: Thank you, koobs, but `portclippy` disagrees with this recommendation. I'll keep it as it is… | |||||
INSTALLS_ICONS= yes | |||||
SHEBANG_FILES= data/scripts/com.github.babluboy.bookworm.search.sh \ | |||||
data/scripts/mobi_lib/mobi_dict.py \ | |||||
data/scripts/mobi_lib/mobi_html.py \ | |||||
data/scripts/mobi_lib/mobi_index.py \ | |||||
data/scripts/mobi_lib/mobi_k8proc.py \ | |||||
data/scripts/mobi_lib/mobi_ncx.py \ | |||||
data/scripts/mobi_lib/mobi_opf.py \ | |||||
data/scripts/mobi_lib/mobi_split.py \ | |||||
data/scripts/mobi_lib/mobi_uncompress.py \ | |||||
data/scripts/mobi_lib/mobi_unpack.py \ | |||||
data/scripts/mobi_lib/mobi_utils.py | |||||
MESON_BUILD_DIR= build | |||||
PORTDOCS= README.md | |||||
OPTIONS_DEFINE= DOCS | |||||
post-configure: | |||||
@${MKDIR} ${WRKSRC}/${MESON_BUILD_DIR} | |||||
post-install-DOCS-on: | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} | |||||
do-test: | |||||
cd ${WRKSRC}/${MESON_BUILD_DIR} && ninja test | |||||
.include <bsd.port.mk> | |||||
Not Done Inline ActionsProvide full paths to required binaries, as they may or may not be on the default path in various environments: LOCALBASE/bin/ninja koobs: Provide full paths to required binaries, as they may or may not be on the default path in… |