source: trunk/dports/devel/popt/Portfile

Last change on this file was 80780, checked in by jmr@…, 6 years ago

popt: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 80780 2011-07-17 13:42:19Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            popt
6version         1.16
7categories      devel
8license         X11
9maintainers     mac.com:n3npq
10description     A getopt(3) like library with a number of enhancements
11
12long_description popt is a command line parsing library. It contains a number of \
13enhancements over getopt(3), including being fully reentrant, allowing users to \
14alias command line arguments, providing convience functions for parsing strings \
15into argv[] style arrays and popt can parse arbitrary argv[] style arrays.
16
17platforms       darwin freebsd
18
19homepage        http://rpm5.org/
20master_sites    ${homepage}files/popt/
21
22depends_lib     port:gettext \
23                port:libiconv
24
25post-destroot {
26    if {[file exists ${destroot}${prefix}/share/locale/locale.alias]} {
27        delete ${destroot}${prefix}/share/locale/locale.alias
28    }
29
30    if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
31        delete ${destroot}${prefix}/lib/charset.alias
32    }
33
34        set docdir ${prefix}/share/doc/${name}-${version}
35        xinstall -d ${destroot}${docdir}
36        xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS CHANGES COPYING README \
37                ${destroot}${docdir}
38}
39
40test.run    yes
41test.target check
42
43checksums       md5     3743beefa3dd6247a73f8f7a32c14c33 \
44                sha1    cfe94a15a2404db85858a81ff8de27c8ff3e235e \
45                rmd160  9c52bff97259de4010499f69c76d2a6396920342
46
47livecheck.type  regex
48livecheck.url   ${master_sites}/?C=M&O=D
49livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.