source: trunk/dports/devel/popt/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4PortGroup  muniversal 1.0
5
6name            popt
7version         1.15
8categories      devel
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     c61ef795fa450eb692602a661ec8d7f1 \
44                sha1    d9bc3067a4e7e62ac0bd9818e8cd649ee0dd12dc \
45                rmd160  f169eadb9c72160176d4c941e24f86e03104b839
46
47platform darwin 7 {
48        depends_build-append port:autoconf
49}
50
51livecheck.check regex
52livecheck.url   ${master_sites}/?C=M&O=D
53livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.