You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -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
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name palm-db-tools
|
|
version 0.3.6
|
|
revision 1
|
|
categories palm databases
|
|
maintainers nomaintainer
|
|
description convert between CSV text files and Palm databases
|
|
long_description This package contains several utilities that allow \
|
|
you to convert text files to and from several \
|
|
different Palm Pilot flat-file database formats. \
|
|
The utilities support DB, MobileDB, List, and \
|
|
JFile v3.x formats.
|
|
|
|
homepage http://palm-db-tools.sourceforge.net/
|
|
platforms darwin
|
|
|
|
master_sites sourceforge
|
|
master_sites.mirror_subdir ${name}
|
|
distname ${name}-0_3_6
|
|
checksums md5 483d2b18dcc2ef8cd5f7e27715d43bfe
|
|
patchfiles patch-flatfile-Makefile.in
|
|
|
|
worksrcdir ${name}
|
|
configure.args --disable-warnings --enable-static
|
|
|
|
destroot {
|
|
xinstall -m 755 -W ${worksrcpath}/flatfile csv2pdb pdb2csv \
|
|
${destroot}${prefix}/bin
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 644 -W ${worksrcpath}/docs manual.html manual.txt \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 644 ${worksrcpath}/models/xldbtools.xlt \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|
|
|
|
# Add support for reading and writing MobileDB 4 databases.
|
|
# http://sourceforge.net/tracker/index.php?func=detail&aid=1566691&group_id=10524&atid=360524
|
|
variant mobiledb4 {
|
|
patchfiles-append patch-libflatfile-MobileDB.cpp.diff
|
|
}
|
|
|