You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
34b3070336
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
32 lines
1023 B
Plaintext
32 lines
1023 B
Plaintext
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-optik
|
|
version 1.5.3
|
|
license BSD
|
|
maintainers nomaintainer
|
|
platforms darwin freebsd
|
|
supported_archs noarch
|
|
description flexible, easy-to-use command-line parsing library for python
|
|
|
|
long_description \
|
|
Optik is a powerful, flexible, extensible, easy-to-use command-line parsing \
|
|
library for Python. Using Optik, you can add intelligent, sophisticated handling \
|
|
of command-line options to your scripts with very little overhead.
|
|
|
|
homepage http://optik.sourceforge.net/
|
|
master_sites sourceforge:optik
|
|
distname optik-${version}
|
|
|
|
checksums sha1 e4718ed19bf15cf7d882b369e9e5de7c352d7fb5
|
|
|
|
python.versions 27
|
|
|
|
if {${name} ne ${subport}} {
|
|
post-destroot {
|
|
file delete -force ${destroot}${prefix}/share/doc/${subport}
|
|
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
|
|
file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
}
|