source: trunk/dports/devel/clog/Portfile

Last change on this file was 112908, checked in by jmr@…, 4 years ago

clog: disable parallel build, set license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 112908 2013-11-03 23:17:30Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    clog
6version                 20030825
7categories              devel
8license                 MIT
9platforms               darwin
10maintainers             nomaintainer
11description             cLog is a cross-platform C logging library.
12long_description        cLog is a cross-platform C logging library. It is designed \
13                                        to log to files and can also log to a callback function.
14
15homepage                http://www.webgroupmedia.com/software/
16master_sites    ${homepage}
17distname                clog_${version}
18checksums               md5 6561e54a243a715f41549cdbbe28cb06
19patchfiles              patch-Makefile
20
21worksrcdir              clog
22
23use_configure   no
24
25build.target
26build.args              PREFIX=${prefix}
27use_parallel_build      no
28
29test.run                yes
30test.target             test
31post-test       {
32        system "cd ${workpath}/build && ./test_clog && test -f test.log"
33}
34
35destroot        {
36        xinstall -m 644 ${worksrcpath}/clog.h ${destroot}${prefix}/include
37        xinstall -m 644 -W ${workpath}/build libclog.a libclog.1.0.dylib \
38                ${destroot}${prefix}/lib/
39        system "cd ${destroot}${prefix}/lib/ \
40                && ln -s libclog.1.0.dylib libclog.1.dylib \
41                && ln -s libclog.1.0.dylib libclog.dylib"
42}
Note: See TracBrowser for help on using the repository browser.