source: trunk/dports/devel/libsigcxx2/Portfile

Last change on this file was 145478, checked in by devans@…, 20 months ago

libsigcxx2: build using system perl, increment revision.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 145478 2016-02-07 05:13:54Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libsigcxx2
7set gname           libsigc++
8version             2.4.1
9revision            2
10license             LGPL-2.1
11set branch          [join [lrange [split ${version} .] 0 1] .]
12categories          devel
13platforms           darwin
14maintainers         devans openmaintainer
15description         C++ signal callback system
16
17long_description    libsigc++ implements a typesafe callback system for standard C++. It allows you to define signals and to \
18                    connect those signals to any callback function, either global or a member function, regardless of whether it is \
19                    static or virtual.
20
21homepage            http://libsigc.sourceforge.net/
22master_sites        gnome:sources/${gname}/${branch}/
23distname            ${gname}-${version}
24use_xz              yes
25
26checksums           sha256  540443492a68e77e30db8d425f3c0b1299c825bf974d9bfc31ae7efafedc19ec \
27                    rmd160  1a13886773661e4dc60982b403c27c6ebcbf2b36
28
29depends_build       port:pkgconfig \
30                    port:mm-common \
31                    port:m4 \
32                    path:bin/dot:graphviz \
33                    port:doxygen \
34                    port:libxslt
35
36configure.perl      /usr/bin/perl
37configure.env-append \
38                    "M4=${prefix}/bin/gm4"
39configure.args      --enable-static \
40                    --disable-silent-rules
41
42# Teach glibtool about -stdlib=libc++
43use_autoreconf      yes
44autoreconf.args     -fvi
45
46post-destroot {
47    set docdir ${prefix}/share/doc/${gname}-2.0
48    xinstall -d ${destroot}${docdir}
49    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO \
50        ${destroot}${docdir}
51}
52
53livecheck.type      gnome
54livecheck.name      ${gname}
Note: See TracBrowser for help on using the repository browser.