summaryrefslogtreecommitdiffstats
path: root/net/tesseras-paste/Makefile
diff options
context:
space:
mode:
authormurilo ijanc2026-03-25 00:55:30 -0300
committermurilo ijanc2026-03-25 00:55:30 -0300
commit90af880c4f43b8c5708af6712d94afc610f451df (patch)
treef796f108a00d9451ff84070656e9caa7b9181c8d /net/tesseras-paste/Makefile
downloadports-main.tar.gz
add net/tesseras-paste portHEADmain
OpenBSD port for tesseras-paste 0.1.0, a decentralized pastebin built on tesseras-dht. Includes rc.d script, _tpd daemon user, man pages for tp(1) and tpd(1), and pkg-readme.
Diffstat (limited to 'net/tesseras-paste/Makefile')
-rw-r--r--net/tesseras-paste/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/tesseras-paste/Makefile b/net/tesseras-paste/Makefile
new file mode 100644
index 0000000..9b28b79
--- /dev/null
+++ b/net/tesseras-paste/Makefile
@@ -0,0 +1,31 @@
+COMMENT = decentralized pastebin built on tesseras-dht
+
+V = 0.1.0
+DISTNAME = tesseras-paste-${V}
+
+CATEGORIES = net
+
+HOMEPAGE = https://tesseras.net
+
+MAINTAINER = Murilo Ijanc <murilo@ijanc.org>
+
+# ISC
+PERMIT_PACKAGE = Yes
+
+WANTLIB += ${MODCARGO_WANTLIB}
+
+MODULES = devel/cargo
+
+DISTFILES = ${DISTNAME}${EXTRACT_SUFX}
+
+CONFIGURE_STYLE = cargo
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/tp.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/tpd.1 ${PREFIX}/man/man1/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pkg-readmes
+ ${SUBST_DATA} ${PKGDIR}/README \
+ ${PREFIX}/share/doc/pkg-readmes/${PKGSTEM}
+
+.include "crates.inc"
+.include <bsd.port.mk>