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

Last change on this file since 87969 was 85498, checked in by dports@…, 8 years ago

ikiwiki: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 85498 2011-10-14 02:38:32Z dports@macports.org $
3
4PortSystem 1.0
5PortGroup perl5 1.0
6
7name                    ikiwiki
8perl5.major             5.12
9perl5.setup             ikiwiki 3.20110608
10# reset version because perl5 portgroup incorrectly converts it
11version                 3.20110608
12revision                1
13categories              www perl
14license                 GPL-2+
15description             A wiki compiler.
16long_description        Ikiwiki is a wiki compiler. It converts wiki pages \
17                        into HTML pages suitable for publishing on a website. \
18                        Ikiwiki stores pages and history in a revision control \
19                        system such as Subversion or Git. There are many other \
20                        features, including support for blogging, as well as a \
21                        large array of plugins.
22homepage                http://ikiwiki.info/
23maintainers             tommyd openmaintainer
24platforms               darwin
25master_sites            http://ftp.debian.org/debian/pool/main/i/ikiwiki/
26distname                ${name}_${version}
27worksrcdir              ${name}
28
29# Livecheck URL is for a file listing in reverse filename order. Using reverse
30# chronological order is impractical because older versions are sometimes
31# patched, giving them a newer timestamp than the latest release.
32
33livecheck.url           http://ftp.debian.org/debian/pool/main/i/ikiwiki/?C=N\;O=D
34livecheck.regex         ">ikiwiki_(\[^<\]+)\\.tar\\.gz<"
35
36patchfiles              patch-Makefile.PL.diff
37
38checksums               md5     c5cce6866137f77b0c5a8eb8d6395391 \
39                        sha1    0808e5f2f03bb5d604b903b96a6a897aeeb24a9e \
40                        rmd160  fa3c774c148c7ef8001579a49c97c92320d18ac6
41
42depends_build           port:coreutils
43
44# needed modules (see Bundle/IkiWiki.pm)
45depends_lib-append      port:p${perl5.major}-cgi-formbuilder \
46                        port:p${perl5.major}-cgi-session \
47                        port:p${perl5.major}-data-dumper \
48                        port:p${perl5.major}-html-parser \
49                        port:p${perl5.major}-html-scrubber \
50                        port:p${perl5.major}-html-template \
51                        port:p${perl5.major}-html-tree \
52                        port:p${perl5.major}-mail-sendmail \
53                        port:p${perl5.major}-text-markdown \
54                        port:p${perl5.major}-uri \
55                        port:p${perl5.major}-timedate \
56                        port:p${perl5.major}-xml-simple
57
58# a couple of optional extra modules bundled from MacPorts used by plugins
59# (for a complete list see Bundle/IkiWiki/Extras.pm)
60depends_lib-append      port:p${perl5.major}-crypt-ssleay \
61                        port:p${perl5.major}-digest-sha1 \
62                        port:p${perl5.major}-file-mimeinfo \
63                        port:p${perl5.major}-locale-gettext \
64                        port:p${perl5.major}-rpc-xml \
65                        port:p${perl5.major}-term-readline-gnu \
66                        port:p${perl5.major}-text-csv \
67                        port:p${perl5.major}-text-wikiformat \
68                        port:p${perl5.major}-xml-feed \
69                        port:p${perl5.major}-yaml
70
71destroot.target         CP=gcp install
72configure.args          INSTALLDIRS=vendor PREFIX=${prefix}
73
74post-patch {
75    reinplace "s|/usr/bin/perl|${prefix}/bin/perl${perl5.major}|g" \
76        ${worksrcpath}/ikiwiki.in \
77        ${worksrcpath}/IkiWiki.pm \
78        ${worksrcpath}/Makefile.PL \
79        ${worksrcpath}/ikiwiki-calendar.in \
80        ${worksrcpath}/ikiwiki-makerepo \
81        ${worksrcpath}/ikiwiki-mass-rebuild \
82        ${worksrcpath}/ikiwiki-transition.in \
83        ${worksrcpath}/ikiwiki-update-wikilist \
84        ${worksrcpath}/ikiwiki-w3m.cgi \
85        ${worksrcpath}/ikiwiki.in \
86        ${worksrcpath}/gitremotes \
87        ${worksrcpath}/mdwn2man \
88        ${worksrcpath}/pm_filter \
89        ${worksrcpath}/docwiki.setup \
90        ${worksrcpath}/auto.setup \
91        ${worksrcpath}/auto-blog.setup
92    reinplace "s|/etc/ikiwiki/wikilist|${prefix}/etc/ikiwiki/wikilist|g" \
93    ${worksrcpath}/ikiwiki-update-wikilist \
94    ${worksrcpath}/ikiwiki-mass-rebuild
95}
Note: See TracBrowser for help on using the repository browser.