-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
34 lines (28 loc) · 1.28 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- 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
name nbd
version 3.20
categories sysutils
license GPL-2
platforms darwin
maintainers {mit.edu:quentin @quentinmit} \
openmaintainer
description Network Block Device server
long_description Network Block Device server. Only the server is available. \
The NBD client does not support Darwin.
homepage https://nbd.sourceforge.io/
master_sites sourceforge
use_xz yes
depends_build-append port:pkgconfig
depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/gnutls.pc:gnutls
checksums rmd160 49a4abd8cb2fc3cc5ddc01a0e85c272add7f34f2 \
sha256 e0e1b3538ab7ae5accf56180afd1a9887d415b98d21223b8ad42592b4af7d6cd \
size 535136
livecheck.type sourceforge
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
post-destroot {
# The configure script automatically detects that it can't build nbd-client,
# but it still installs the manpage.
delete ${destroot}${prefix}/share/man/man8/nbd-client.8
}