source: trunk/dports/devel/cextract/Portfile

Last change on this file was 125011, checked in by mf2k@…, 3 years ago

backuppc cextract gdchart newmat newran nifticlib py-chm py-chm2pdf py-hcluster py-ode py-psychopy py-pynifti py-pywavelets py26-pymvpa py26-tvdb py26-tvnamer py27-instapaperlib shogun uclatools xmedcon: Ports abandoned. (#44641)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 125011 2014-09-02 19:44:07Z ryandesign@macports.org $
2
3PortSystem          1.0
4name                cextract
5version             1.7
6categories          devel
7maintainers         nomaintainer
8description         C prototype extractor
9long_description \
10   cextract is ideal for generating header files for large multi-file C \
11   programs, and will provide an automated method for generating all of \
12   the prototypes for all of the functions in such a program.  cextract \
13   also functions as a rudimentary documentation extractor, generating a \
14   sorted list of all functions and their locations.
15
16platforms           darwin
17
18homepage            http://www.cs.bu.edu/pub/adb/
19master_sites        ${homepage}
20distname            ${name}
21dist_subdir         ${name}/${version}
22extract.suffix      .tar.Z
23
24checksums           md5     c3afd8f535fa23000d35fc1ab37d1bf3 \
25                    sha1    798033c7128d811ab63767cd1e8fd10536cd74b6 \
26                    rmd160  f0087686b7f648fd97889e4f78767faa262af53a
27
28# No uncompress option for distfiles, so extract manually
29extract {
30   system "cd ${workpath} && uncompress -c ${distpath}/${distfiles} | tar xf -"
31}
32
33patchfiles          patch-xtract.h.diff patch-io.c.diff
34
35use_configure       no
36
37set sysrc           SYSRC=${prefix}/etc/cext.config
38
39build.target-append ${sysrc}
40
41destroot.target-append    install.man
42destroot.destdir-append   BINDIR=${prefix}/bin \
43                          MANDIR=${prefix}/share/man/man ${sysrc}
44
45post-activate {
46   system "${prefix}/bin/cextract -B"
47}
48
49platform darwin {
50   patchfiles-append   patch-Makefile_darwin.diff
51}
52
53livecheck.type      none
54
Note: See TracBrowser for help on using the repository browser.