aboutsummaryrefslogtreecommitdiff
path: root/textproc/hs-pandoc/Makefile
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2009-07-19 15:00:44 +0000
committerGabor Pali <pgj@FreeBSD.org>2009-07-19 15:00:44 +0000
commit8219325fdf0c750624cef3dd5377ae68ea8be2fa (patch)
tree2045d825efcad2e8590f39acc3333adb36543524 /textproc/hs-pandoc/Makefile
parenta2dc6e2282ea70bfd7ceb3b9695b3e32aa81dcef (diff)
downloadports-8219325fdf0c750624cef3dd5377ae68ea8be2fa.tar.gz
ports-8219325fdf0c750624cef3dd5377ae68ea8be2fa.zip
Notes
Diffstat (limited to 'textproc/hs-pandoc/Makefile')
-rw-r--r--textproc/hs-pandoc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/hs-pandoc/Makefile b/textproc/hs-pandoc/Makefile
index 26fa07e07ce6..95b2a03fdd5c 100644
--- a/textproc/hs-pandoc/Makefile
+++ b/textproc/hs-pandoc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pandoc
-PORTVERSION= 1.2
+PORTVERSION= 1.2.1
CATEGORIES= textproc haskell
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -36,6 +36,10 @@ BUILD_DEPENDS+= hs-highlighting-kate-ghc>=0.2:${PORTSDIR}/textproc/hs-highlighti
MAKE_ARGS= CABALOPTS+="-fhighlighting"
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's/Text.Pandoc.TH,/Text.Pandoc.TH/; /Paths_pandoc/d' \
+ ${WRKSRC}/pandoc.cabal
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin
.for script in ${SCRIPTS}