/
gitit.cabal
97 lines (92 loc) · 4.87 KB
/
gitit.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: gitit
version: 0.6.1
Cabal-version: >= 1.2
build-type: Simple
synopsis: Wiki using Happstack, git or darcs, and pandoc.
description: Gitit is a wiki program. Pages and uploaded files
are stored in a git or darcs repository and may be modified
either by using the VCS's command-line tools or through
the wiki's web interface. Pandoc's extended version
of markdown is used as a markup language. Pages
can be exported in a number of different formats,
including LaTeX, RTF, OpenOffice ODT, and MediaWiki
markup. Gitit can be configured to display TeX math
(using jsMath) and highlighted source code (using
highlighting-kate).
category: Network
license: GPL
license-file: LICENSE
author: John MacFarlane
maintainer: jgm@berkeley.edu
bug-reports: http://code.google.com/p/gitit/issues/list
homepage: http://github.com/jgm/gitit/tree/master
stability: experimental
data-files: css/screen.css, css/print.css, css/ie.css, css/hk-pyg.css,
css/reset-fonts-grids.css, css/base-min.css,
img/gitit-dog.png,
img/icons/folder.png, img/icons/page.png,
img/icons/cross.png, img/icons/doc.png, img/icons/email.png,
img/icons/external.png, img/icons/external.png, img/icons/feed.png,
img/icons/folder.png, img/icons/im.png, img/icons/key.png,
img/icons/page.png, img/icons/pdf.png, img/icons/tick.png,
img/icons/xls.png,
js/dragdiff.js, js/jquery.min.js, js/uploadForm.js,
js/jquery-ui.packed.js,
js/preview.js, js/search.js,
data/post-update, data/FrontPage.page, data/Help.page,
data/markup.Markdown, data/markup.RST,
data/markup.HTML, data/markup.LaTeX,
data/default.conf,
data/templates/page.st, data/templates/content.st,
data/templates/userbox.st, data/templates/footer.st,
data/templates/logo.st, data/templates/markuphelp.st,
data/templates/pagetools.st, data/templates/sitenav.st,
data/templates/messages.st, data/templates/listitem.st,
data/markupHelp/Markdown, data/markupHelp/Markdown+LHS,
data/markupHelp/RST, data/markupHelp/RST+LHS,
data/markupHelp/LaTeX, data/markupHelp/LaTeX+LHS,
data/markupHelp/HTML,
plugins/CapitalizeEmphasis.hs,
plugins/Dot.hs,
plugins/ImgTex.hs,
plugins/Interwiki.hs,
plugins/Deprofanizer.hs,
plugins/WebArchiver.hs,
plugins/ShowUser.hs,
plugins/Signature.hs,
CHANGES, README.markdown, YUI-LICENSE, BLUETRIP-LICENSE, TANGOICONS
Flag plugins
description: Compile in support for plugins.
default: False
Library
hs-source-dirs: .
exposed-modules: Network.Gitit
if flag(plugins)
exposed-modules: Network.Gitit.Interface
other-modules: Network.Gitit.Types, Network.Gitit.State, Network.Gitit.Server,
Network.Gitit.Util, Network.Gitit.Export, Network.Gitit.Layout,
Network.Gitit.ContentTransformer, Network.Gitit.Initialize,
Network.Gitit.Config, Network.Gitit.Framework, Network.Gitit.Handlers,
Network.Gitit.Plugins, Paths_gitit, Network.Gitit.Authentication,
Network.Gitit.Page
build-depends: base >= 3, pandoc >= 1.1, filepath
ghc-options: -Wall
ghc-prof-options: -auto-all -caf-all
Executable gitit
hs-source-dirs: .
main-is: gitit.hs
build-depends: base >=3 && < 5, parsec < 3, pretty, xhtml, containers,
pandoc >= 1.2, process, filepath, directory, mtl, cgi,
network, old-time, highlighting-kate, bytestring,
utf8-string, SHA > 1, HTTP, HStringTemplate, random,
network >= 2.1.0.0, recaptcha >= 0.1, filestore >= 0.3,
datetime, zlib, url, happstack-server >= 0.3.3 && < 0.4,
happstack-util >= 0.3.2 && < 0.4,
hslogger >= 1 && < 1.1, ConfigFile >= 1
if impl(ghc >= 6.10)
build-depends: base >= 4, syb
if flag(plugins)
build-depends: ghc, ghc-paths
cpp-options: -D_PLUGINS
ghc-options: -Wall -threaded
ghc-prof-options: -auto-all -caf-all