source: trunk/dports/www/ikiwiki/Portfile @ 64674

Last change on this file since 64674 was 64674, checked in by tommyd@…, 8 years ago
  • new upstream version
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
1# $Id: Portfile 64674 2010-03-13 22:32:00Z tommyd@macports.org $
2
3PortSystem 1.0
4PortGroup perl5 1.0
5
6perl5.setup             ikiwiki 3.20100312
7revision                1
8name                    ikiwiki
9categories              www perl
10description             A wiki compiler.
11long_description        Ikiwiki is a wiki compiler. It converts wiki pages \
12                        into HTML pages suitable for publishing on a website. \
13                        Ikiwiki stores pages and history in a revision control \
14                        system such as Subversion or Git. There are many other \
15                        features, including support for blogging, as well as a \
16                        large array of plugins.
17homepage                http://ikiwiki.info/
18maintainers             tommyd
19platforms               darwin
20master_sites            http://ftp.debian.org/debian/pool/main/i/ikiwiki/
21distname                ${name}_${version}
22worksrcdir              ${name}
23
24patchfiles              patch-Makefile.PL.diff
25
26checksums               md5     18f9224b9d47428cf50bf461a438ae45 \
27                        sha1    eb66b33fe6960b9545c6465e5cc3a3ab6f25bae2 \
28                        rmd160  54b67f848d7cba2ccdc048035bc331af6014b514
29
30depends_build           port:coreutils
31
32# needed modules (see Bundles/IkiWiki.pm)
33depends_lib-append      port:p5-cgi-formbuilder \
34                        port:p5-cgi-session \
35                        port:p5-data-dumper \
36                        port:p5-html-parser \
37                        port:p5-html-scrubber \
38                        port:p5-html-template \
39                        port:p5-html-tree \
40                        port:p5-mail-sendmail \
41                        port:p5-text-markdown \
42                        port:p5-uri \
43                        port:p5-timedate \
44                        port:p5-xml-simple
45
46# a couple of optional extra modules bundled from MacPorts used by plugins
47# (for a complete list see Bundles/IkiWiki/Extras.pm)
48depends_lib-append      port:p5-crypt-ssleay \
49                        port:p5-digest-sha1 \
50                        port:p5-file-mimeinfo \
51                        port:p5-locale-gettext \
52                        port:p5-rpc-xml \
53                        port:p5-text-csv \
54                        port:p5-text-wikiformat \
55                        port:p5-xml-feed
56
57destroot.target         CP=gcp install
58configure.args          INSTALLDIRS=vendor PREFIX=${prefix}
59
60post-patch {
61    reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \
62        ${worksrcpath}/ikiwiki.in \
63        ${worksrcpath}/IkiWiki.pm \
64        ${worksrcpath}/Makefile.PL \
65        ${worksrcpath}/ikiwiki-mass-rebuild \
66        ${worksrcpath}/ikiwiki-transition \
67        ${worksrcpath}/ikiwiki-update-wikilist \
68        ${worksrcpath}/ikiwiki-w3m.cgi \
69        ${worksrcpath}/ikiwiki.in \
70        ${worksrcpath}/docwiki.setup \
71        ${worksrcpath}/mdwn2man \
72        ${worksrcpath}/pm_filter \
73        ${worksrcpath}/auto.setup \
74        ${worksrcpath}/auto-blog.setup
75    reinplace "s|/etc/ikiwiki/wikilist|${prefix}/etc/ikiwiki/wikilist|g" \
76    ${worksrcpath}/ikiwiki-update-wikilist \
77    ${worksrcpath}/ikiwiki-mass-rebuild
78}
Note: See TracBrowser for help on using the repository browser.