Ticket #66383: Portfile

File Portfile, 1.5 KB (added by artkiver (グレェ), 2 years ago)

Portfile minorly changed, seems to function correctly mostly thanks to some additional changes to Makefile.patch

Line 
1# -*- 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
2
3PortSystem          1.0
4PortGroup           legacysupport 1.1
5
6name                snac
7version             2.12
8revision            0
9distname            ${version}
10categories          net
11license             MIT
12maintainers         {@artkiver gmail.com:artkiver} openmaintainer
13description         A simple, minimalistic ActivityPub instance
14long_description    snac2 Social Networks Are Crap \
15                    implemented in C (the original snac was Python). \
16                    From the README.md: \
17                    Simple but effective web interface. \
18                    Easily-accessed MUTE button to silence morons \
19                    Tested interoperability with related software \
20                    No database needed \
21                    Totally JavaScript-free \
22                    No cookies either \
23                    Not much bullshit
24 
25homepage            https://codeberg.org/grunfink/snac2
26master_sites        ${homepage}archive/
27checksums           rmd160 c601ba29e7cb71a84508ae4ca34e208925805513 \
28                    sha256 2422b5fc7000c675063f43e3800d2cee84a7347ac2dd2dc1b7c257f64fe07620 \
29                    size 65818
30depends_lib         path:lib/libssl.dylib:openssl \
31                    port:curl
32use_configure       no
33use_parallel_build  no
34patch.args -p1
35patchfiles          Makefile.patch
36post-patch          {reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile}