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
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name saxpath
|
|
version 1.0
|
|
categories java devel textproc
|
|
license Apache-1.1
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
description simple Java API for XPath
|
|
|
|
long_description \
|
|
The SAXPath project is a Simple API for XPath. SAXPath is analogous to SAX \
|
|
in that the API abstracts away the details of parsing and provides a \
|
|
simple event based callback interface.
|
|
|
|
homepage http://saxpath.sourceforge.net/
|
|
master_sites sourceforge
|
|
|
|
checksums md5 cc95ecc7dfb689a29bd42323490ee702
|
|
|
|
depends_build bin:ant:apache-ant
|
|
depends_lib bin:java:kaffe
|
|
|
|
set worksrcdir ${worksrcdir}-FCS
|
|
|
|
post-extract {
|
|
file mkdir ${worksrcpath}/src/conf
|
|
file copy ${filespath}/MANIFEST.MF ${worksrcpath}/src/conf
|
|
}
|
|
|
|
use_configure no
|
|
|
|
build.cmd ant
|
|
build.target package
|
|
|
|
destroot {
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/java \
|
|
${destroot}${prefix}/share/doc
|
|
xinstall -m 644 ${worksrcpath}/build/saxpath.jar \
|
|
${destroot}${prefix}/share/java/
|
|
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
|
|
}
|
|
|
|
livecheck.regex {saxpath (\d+(?:\.\d+)*) FCS}
|