Page MenuHomeFreeBSD

D42071.id128214.diff
No OneTemporary

D42071.id128214.diff

Index: www/Makefile
===================================================================
--- www/Makefile
+++ www/Makefile
@@ -488,6 +488,7 @@
SUBDIR += npm-node20
SUBDIR += oauth2-proxy
SUBDIR += obhttpd
+ SUBDIR += offpunk
SUBDIR += oneshot
SUBDIR += onionbalance
SUBDIR += onionshare
Index: www/offpunk/Makefile
===================================================================
--- /dev/null
+++ www/offpunk/Makefile
@@ -0,0 +1,43 @@
+PORTNAME= offpunk
+PORTVERSION= 1.10
+DISTVERSIONPREFIX= v
+CATEGORIES= www python
+MASTER_SITES= https://git.sr.ht/~lioploum/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER= m.ne@gmx.net
+COMMENT= Offline-first gemini/web/gopher/rss reader and browser
+WWW= https://sr.ht/~lioploum/offpunk/
+
+LICENSE= BSD2CLAUSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}feedparser>0:textproc/py-feedparser@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}readability-lxml>0:www/py-readability-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
+
+USES= python shebangfix
+USE_PYTHON= autoplist pep517
+SHEBANG_FILES= offpunk.py
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= CHAFA CHARDET SETPROCTITLE TIMG XSEL
+
+CHAFA_DESC= Allows to display pictures in your console
+CHARDET_DESC= Detect the character encoding on Gopher
+SETPROCTITLE_DESC= Change the process name to "offpunk"
+TIMG_DESC= Slower alternative to chafa for inline images
+XSEL_DESC= Allows to go to the URL copied in the clipboard
+
+CHAFA_RUN_DEPENDS= chafa>=1.3.2>0:graphics/chafa
+CHARDET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR}
+SETPROCTITLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR}
+TIMG_RUN_DEPENDS= timg>=1.3.2>0:graphics/timg
+XSEL_RUN_DEPENDS= xsel-conrad>0:x11/xsel-conrad
+
+.include <bsd.port.mk>
Index: www/offpunk/distinfo
===================================================================
--- /dev/null
+++ www/offpunk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1691366454
+SHA256 (offpunk-v1.10.tar.gz) = 1715e819cbf1475943b16aba18a157a26bc8da5184dc6c5b1f1bbcf8e5455eea
+SIZE (offpunk-v1.10.tar.gz) = 210865
Index: www/offpunk/pkg-descr
===================================================================
--- /dev/null
+++ www/offpunk/pkg-descr
@@ -0,0 +1,5 @@
+A command-line and offline-first smolnet browser/feed reader for Gemini, Gopher,
+Spartan and Web.
+
+The goal of Offpunk is to be able to synchronise your content once (a day, a
+week, a month) and then browse/organise it while staying disconnected.

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 8, 7:35 AM (9 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31085997
Default Alt Text
D42071.id128214.diff (2 KB)

Event Timeline