Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144102378
D42071.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D42071.diff
View Options
diff --git a/www/Makefile b/www/Makefile
--- a/www/Makefile
+++ b/www/Makefile
@@ -492,6 +492,7 @@
SUBDIR += npm-node20
SUBDIR += oauth2-proxy
SUBDIR += obhttpd
+ SUBDIR += offpunk
SUBDIR += oneshot
SUBDIR += onionbalance
SUBDIR += onionshare
diff --git a/www/offpunk/Makefile b/www/offpunk/Makefile
new file mode 100644
--- /dev/null
+++ b/www/offpunk/Makefile
@@ -0,0 +1,42 @@
+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= ${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>
diff --git a/www/offpunk/distinfo b/www/offpunk/distinfo
new file mode 100644
--- /dev/null
+++ b/www/offpunk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1691366454
+SHA256 (offpunk-v1.10.tar.gz) = 1715e819cbf1475943b16aba18a157a26bc8da5184dc6c5b1f1bbcf8e5455eea
+SIZE (offpunk-v1.10.tar.gz) = 210865
diff --git a/www/offpunk/pkg-descr b/www/offpunk/pkg-descr
new file mode 100644
--- /dev/null
+++ b/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
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 5, 7:15 PM (13 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28443630
Default Alt Text
D42071.diff (2 KB)
Attached To
Mode
D42071: www/offpunk: Add new port
Attached
Detach File
Event Timeline
Log In to Comment