aboutsummaryrefslogtreecommitdiff
path: root/freebsd
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 /freebsd
parent1cbcaa88025c174662d0724ff1e3f2f02f631f5c (diff)
downloadpandoc-91d9fffe9e70a59bf37823670d8f975179f4d001.tar.gz
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 'freebsd')
-rw-r--r--freebsd/Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/freebsd/Makefile.in b/freebsd/Makefile.in
index 4db82edb7..2b4db29e0 100644
--- a/freebsd/Makefile.in
+++ b/freebsd/Makefile.in
@@ -16,17 +16,22 @@ COMMENT= A general markup converter
BUILD_DEPENDS= ghc>=6.6:${PORTSDIR}/lang/ghc
MANCOMPRESSED= no
-MAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1
+MAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1 markdown2odt.1
USE_GMAKE= yes
USE_PERL5= yes
-PLIST_FILES= bin/pandoc bin/markdown2pdf bin/html2markdown bin/hsmarkdown
+PLIST_FILES= bin/pandoc bin/markdown2pdf bin/html2markdown bin/hsmarkdown \
+ bin/markdown2odt
PORTDOCS= BUGS README README.html
-SCRIPTS= hsmarkdown html2markdown markdown2pdf
+SCRIPTS= hsmarkdown html2markdown markdown2pdf markdown2odt
+DATA_FILES= odt-styles/reference.odt
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin
+.for f in ${DATA_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
+.endfor
.for script in ${SCRIPTS}
@${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
.endfor