description A getopt(3) like library with a number of enhancements
long_description popt is a command line parsing library. It contains a number of \
enhancements over getopt(3), including being fully reentrant, allowing users to \
alias command line arguments, providing convience functions for parsing strings \
into argv[] style arrays and popt can parse arbitrary argv[] style arrays.
homepage http://rpm5.org/
master_sites ${homepage}files/popt/
depends_lib port:gettext \
if {[file exists ${destroot}${prefix}/share/locale/locale.alias]} {
delete ${destroot}${prefix}/share/locale/locale.alias
if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
delete ${destroot}${prefix}/lib/charset.alias
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS CHANGES COPYING README \
checksums md5 3743beefa3dd6247a73f8f7a32c14c33 \
sha1 cfe94a15a2404db85858a81ff8de27c8ff3e235e \
rmd160 9c52bff97259de4010499f69c76d2a6396920342
livecheck.url ${master_sites}/?C=M&O=D
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)