Files

66 lines
2.7 KiB
Tcl
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup legacysupport 1.1
PortGroup makefile 1.0
PortGroup codeberg 1.0
codeberg.setup grunfink snac2 2.93
name snac
revision 0
categories net
license MIT
maintainers {@artkiver gmail.com:artkiver} openmaintainer
description A simple, minimalistic ActivityPub instance
long_description snac Social Networks Are Crap \
This program is written in highly portable C. \
Features from the README.md: \
- Lightweight, minimal dependencies \
- Extensive support of ActivityPub operations, e.g. write public notes, follow users, be followed, reply to the notes of others, admire wonderful content (like or boost), write private messages... \
- Simple but effective web interface \
- Multiuser \
- Mastodon API support, so Mastodon-compatible apps can \
be used (work in progress) \
- Simple but effective web interface \
- Easily-accessed MUTE button to silence morons \
- Tested interoperability with related software \
- No database needed \
- Totally JavaScript-free \
- No cookies either \
- Not much bullshit
checksums rmd160 48e70e9fd2fd8fa07ee2f16dd044da5a437978b7 \
sha256 25c28d210c7a96ad57ffd05670b39c952ffd60cce85efa13403ce8f174e4abea \
size 336597
depends_lib path:lib/libssl.dylib:openssl \
port:curl
worksrcdir ${name}2
patchfiles Makefile.patch
platform darwin {
configure.cflags-append \
-Dst_mtim=st_mtimespec -Dst_ctim=st_ctimespec
}
# data.c: error: for loop initial declaration used outside C99 mode
configure.cflags-append \
-std=c99
# error: 'cleanup' function '_xs_destroy' parameter has
# type 'char **' which is incompatible with type 'X509_STORE **'
# (aka 'struct x509_store_st **') on macOS < 10.14
compiler.blacklist-append \
{clang < 1001}
variant nomastodon description {omit Mastodon API support} {
configure.cflags-append \
-Dst_mtim=st_mtimespec -Dst_ctim=st_ctimespec -DNO_MASTODON_API
}
livecheck.type regex
livecheck.url https://codeberg.org/grunfink/snac2/tags
livecheck.regex {/grunfink/snac2/releases/tag/(\d+\.\d+)}