# $Id$ PortSystem 1.0 PortGroup muniversal 1.0 name popt version 1.15 categories devel maintainers mac.com:n3npq 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. platforms darwin freebsd homepage http://rpm5.org/ master_sites ${homepage}files/popt/ depends_lib port:gettext \ port:libiconv post-destroot { 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 \ ${destroot}${docdir} } test.run yes test.target check checksums md5 c61ef795fa450eb692602a661ec8d7f1 \ sha1 d9bc3067a4e7e62ac0bd9818e8cd649ee0dd12dc \ rmd160 f169eadb9c72160176d4c941e24f86e03104b839 platform darwin 7 { depends_build-append port:autoconf } livecheck.check regex livecheck.url ${master_sites}/?C=M&O=D livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)