summaryrefslogtreecommitdiff
path: root/macports
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-03-19 18:46:57 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-03-19 18:46:57 +0000
commit91d9fffe9e70a59bf37823670d8f975179f4d001 (patch)
treea1a57f8cc03a776d864fa148ca4e409682d1dae8 /macports
parent1cbcaa88025c174662d0724ff1e3f2f02f631f5c (diff)
Added preliminary version of markdown2odt wrapper.
Added man page. Modified Makefile to create markdown2odt from template. Modified Makefile to create reference.odt file from files in odt-styles. Modified Makefile to install reference.odt into PACKAGEDATAPATH. Modified macports Portfile. Modified freebsd Makefile. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1259 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'macports')
-rw-r--r--macports/Portfile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/macports/Portfile.in b/macports/Portfile.in
index e352fe1b5..8ff8d2c63 100644
--- a/macports/Portfile.in
+++ b/macports/Portfile.in
@@ -40,13 +40,18 @@ destroot {
${destroot}${prefix}/libexec/${name}-${version}
# install shell scripts:
xinstall -m 755 -W ${worksrcpath} html2markdown hsmarkdown markdown2pdf \
- ${destroot}${prefix}/bin
+ markdown2odt ${destroot}${prefix}/bin
+ # install data file:
+ xinstall -d ${destroot}${prefix}/share/${name}
+ xinstall -m 644 -W ${worksrcpath} odt-styles/reference.odt \
+ ${destroot}${prefix}/share/${name}
# install user documentation and man pages:
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} README README.html COPYRIGHT BUGS \
${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath}/man/man1 pandoc.1 hsmarkdown.1 \
- markdown2pdf.1 html2markdown.1 ${destroot}${prefix}/share/man/man1
+ markdown2pdf.1 html2markdown.1 markdown2odt.1 \
+ ${destroot}${prefix}/share/man/man1
}
post-activate {