source: trunk/dports/devel/cunit/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                cunit
6version             2.1-3
7revision            1
8categories          devel
9license             LGPL
10maintainers         nomaintainer
11description         Unit testing library for C
12long_description \
13   CUnit is a lightweight system for writing, administering, and running \
14   unit tests in C.  It provides C programmers a basic testing functionality \
15   with a flexible variety of user interfaces.
16
17platforms           darwin
18
19homepage            http://cunit.sourceforge.net/
20master_sites        sourceforge:project/cunit/CUnit/${version}
21distname            CUnit-${version}
22use_bzip2           yes
23
24checksums           md5     b5f1a9f6093869c070c6e4a9450cc10c \
25                    sha1    eac0c71167aa3fab83483ae1313b78163f0f7238 \
26                    rmd160  c9d74d5406fb5fed0d61cfd5fee12a4d77d7e2cc
27
28depends_lib         port:ncurses
29
30patchfiles          patch-cunit_sources_curses_curses.c.diff \
31                    Sources_Makefile.am.diff \
32                    doc_Makefile.am.diff
33
34use_autoreconf      yes
35configure.args      --enable-curses
36
37post-destroot {
38   # For some reason CUnit has a ${prefix}/doc/headers/ which just repeats
39   # the headers already in include/ (plus Win.h which we don't need)
40   delete ${destroot}${prefix}/doc
41}
42
43livecheck.type      sourceforge
44livecheck.regex     /CUnit-(\[0-9.-\]+)-src${extract.suffix}
Note: See TracBrowser for help on using the repository browser.