Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20701 closed submission (fixed)

new port: hyperic-sigar

Reported by: nefar@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: hyperic-sigar

Description

# $Id

PortSystem      1.0

name            hyperic-sigar
version         1.6.2
categories      sysutils
maintainers     nefar@hotmail.com openmaintainer
description     Hardware/OS information gathering tool

long_description \
    SIGAR (System Information Gatherer and Reporter) is a cross-platform, \
    cross-language library and command-line tool for accessing operating system and \
    hardware level information in Java, Perl and .NET. \

homepage        http://sigar.sourceforge.net/
master_sites    sourceforge:sigar
distname        ${name}-${version}

checksums           md5     bc20535650a7529e72c4b5c7a76c9f04 \
                    sha1    1f377f0a635f0ee9b8d987aa0ec28f2e75436ed0 \
                    rmd160  5c7526fe2753f40c67dfa1958bb7460a69f76ad2

configure {}
build {}

destroot {
  xinstall -m 755 -d ${destroot}${prefix}/lib
  xinstall -m 755 -d ${destroot}${prefix}/include
  xinstall -m 755 ${worksrcpath}/sigar-bin/lib/libsigar-universal-macosx.dylib ${destroot}${prefix}/lib
  eval xinstall -m 755 [glob -directory ${worksrcpath}/sigar-bin/include/ "*.h"] /opt/local/include
}
livecheck.distname  ${name}

Change History (4)

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

Owner: changed from macports-tickets@… to snc@…
Status: newassigned

It's nice to have these as attachments I can just download :-)

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

distname is the default, so removing it.

use_configure no should used to override the configure phase.

livecheck.distname is set to its default as well, removed.

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed
Summary: new port: hyperic-sigfarnew port: hyperic-sigar

Committed in r55966.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Don't forget to always use ${prefix} instead of /opt/local. r55972

Actually, it needs to install into ${destroot}, not directly into ${prefix}/include. r55973

You do not need to manually create common directories like ${destroot}${prefix}/lib and ${destroot}${prefix}/include; MacPorts does so for you. r55974

Note: See TracTickets for help on using tickets.