Files

50 lines
1.8 KiB
Tcl

# -*- 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 github 1.0
PortGroup openssl 1.0
openssl.branch 1.0
github.setup ProfDrLuigi wired 55741e54d0b0b9bb35bcc26cf1302c396b6a85f5
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version 2.5.2
name wired-server
revision 2
categories net
maintainers nomaintainer
license BSD
description Wired Server is BBS-oriented server for UNIX-based operating systems
long_description {*}${description}
homepage https://wired.read-write.fr/products/wired
checksums rmd160 f6085455d1a53225ebec205d8145a06bbacf2aa7 \
sha256 68bdfbcd8954803ebf131a7458ace9adc9f2c80cded6d497ef339d9800175880 \
size 244201
use_autoreconf yes
autoreconf.args -fvi
depends_build-append path:bin/pkg-config:pkgconfig
depends_lib-append port:libiconv \
port:libwired \
port:libxml2 \
port:miniupnpc \
port:ncurses \
port:sqlite3 \
port:zlib
patchfiles patch-configure.ac.diff \
patch-makefile.in.diff
post-extract {
copy ${filespath}/config.m4 ${worksrcpath}/libwired
}
post-patch {
reinplace -W ${worksrcpath} "s|__PREFIX__|${prefix}|g" configure.ac Makefile.in libwired/config.m4
reinplace -W ${worksrcpath} "s|__DESTROOT__|${destroot}|g" Makefile.in
}
configure.args-append --with-wireddir="var/wired"