-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathPortfile
48 lines (35 loc) · 1.7 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- 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 gsmartcontrol
version 1.1.4
revision 1
maintainers {cal @neverpanic} openmaintainer
categories sysutils gnome
description GSmartControl is a graphical user interface for smartctl
long_description ${description} \
(from the smartmontools package), which is a tool for querying and \
controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) \
data on modern hard disk drives. It allows you to inspect the drive's SMART \
data to determine its health, as well as run various tests on it.
platforms darwin
license {GPL-2 GPL-3}
homepage http://gsmartcontrol.sourceforge.net/
master_sites sourceforge:project/${name}/${version}/
use_bzip2 yes
checksums rmd160 9ef342c16372ef344d02717a87126811a62c75a0 \
sha256 fc409f2b8a84cc40bb103d6c82401b9d4c0182d5a3b223c93959c7ad66191847 \
size 691155
compiler.cxx_standard 2011
# uses a file called "version" during build that conflicts with c++ header
compiler.blacklist-append {macports-clang-[8-9].0}
depends_build port:pkgconfig
depends_lib port:pcre \
port:smartmontools \
path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
port:gtkmm3
configure.cxxflags-append \
-std=c++11
post-activate {
system "gtk-update-icon-cache ${prefix}/share/icons/hicolor"
}
livecheck.regex "[quotemeta ${name}]-(\\d+(\\.\\d+)*)[quotemeta ${extract.suffix}]"