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

Last change on this file since 38609 was 38609, checked in by tommyd@…, 11 years ago

Updated to 2.54.

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