[38191] trunk/dports/www/ikiwiki/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Jul 11 15:58:10 PDT 2008


Hi Thomas!

On Jul 11, 2008, at 17:43, tommyd at macports.org wrote:

> Revision: 38191
>           http://trac.macosforge.org/projects/macports/changeset/38191
> Author:   tommyd at macports.org
> Date:     2008-07-11 15:43:47 -0700 (Fri, 11 Jul 2008)
> Log Message:
> -----------
> www/ikiwiki: take maintenance of ikiwiki port, upgrade to
> 2.51, closes #15801
>
> Modified Paths:
> --------------
>     trunk/dports/www/ikiwiki/Portfile
>
> Modified: trunk/dports/www/ikiwiki/Portfile
> ===================================================================
> --- trunk/dports/www/ikiwiki/Portfile	2008-07-11 20:51:54 UTC (rev  
> 38190)
> +++ trunk/dports/www/ikiwiki/Portfile	2008-07-11 22:43:47 UTC (rev  
> 38191)
> @@ -3,38 +3,68 @@
>  PortSystem 1.0
>  PortGroup perl5 1.0
>
> -perl5.setup             ikiwiki 1.47
> +perl5.setup             ikiwiki 2.51
>  name                    ikiwiki
> -categories		www perl
> +version                 2.51

I don't think you need to add the version field for perl5-portgroup  
ports. I think it handles that automatically.

> +categories              www perl
>  description             A wiki compiler.
> -long_description        ${description}
> -homepage                http://ikiwiki.kitenet.net/
> -maintainers             paul.totterman at gmail.com
> +long_description        Ikiwiki is a wiki compiler. It converts  
> wiki pages \
> +                        into HTML pages suitable for publishing on  
> a website. \
> +                        Ikiwiki stores pages and history in a  
> revision control \
> +                        system such as Subversion or Git. There  
> are many other \
> +                        features, including support for blogging,  
> as well as a \
> +                        large array of plugins.
> +homepage                http://ikiwiki.info/
> +maintainers             tommyd at macports.org

To reduce spam, you might want to use the short form (just write  
"tommyd" instead of your full email address).

>  platforms               darwin
>  master_sites            http://ftp.debian.org/debian/pool/main/i/ 
> ikiwiki/
>  distname                ${name}_${version}
>  worksrcdir              ${name}
> -checksums		md5 2463a50af5b5587bc2444e89c2edcb46 \
> -			sha1 f4d6ecc2d16b96da57812e1dcb332bf8cacc2e2d \
> -			rmd160 fe5563ef36cd27fe258ac654bd1496e932b1c77f
>
> +checksums               md5 4423258ab049d5441225027704fd2d1a \
> +                        sha1  
> c8c30cb78dea19ee60385bb81f73d2ff9a42f72b \
> +                        rmd160  
> b023427675268c731e5d54eefc90d937e4d41a3d
> +
>  depends_build           port:perl5.8 port:coreutils
> -depends_lib-append      port:p5-text-markdown port:p5-html-template \
> -                        port:p5-html-scrubber port:p5-uri port:p5- 
> perlmagick \
> -			port:p5-cgi-formbuilder port:p5-timedate port:p5-mail-sendmail \
> -			port:p5-time-duration port:p5-xml-sax-expat
>
> +# needed modules (see Bundles/IkiWiki.pm)
> +depends_lib-append      port:p5-cgi \
> +                        port:p5-cgi-formbuilder \
> +                        port:p5-cgi-session \
> +                        port:p5-data-dumper \
> +                        port:p5-html-parser \
> +                        port:p5-html-scrubber \
> +                        port:p5-html-parser \
> +                        port:p5-mail-sendmail \
> +                        port:p5-text-markdown \
> +                        port:p5-uri \
> +                        port:p5-timedate \
> +                        port:p5-xml-simple
> +
> +# a couple of optional extra modules bundled from MacPorts used by  
> plugins
> +# (for a complete list see Bundles/IkiWiki/Extras.pm)
> +depends_lib-append      port:p5-crypt-ssleay \
> +                        port:p5-digest-sha1 \
> +                        port:p5-file-mimeinfo \
> +                        port:p5-locale-gettext \
> +                        port:p5-text-csv \
> +                        port:p5-text-wikiformat \
> +                        port:p5-xml-feed
> +
>  destroot.target         CP=gcp install
>  configure.args          INSTALLDIRS=vendor PREFIX=${prefix}
>
>  post-patch {
> -	reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \
> -		${worksrcpath}/ikiwiki.in \
> -		${worksrcpath}/IkiWiki.pm \
> -		${worksrcpath}/Makefile.PL \
> -		${worksrcpath}/ikiwiki-mass-rebuild \
> -		${worksrcpath}/ikiwiki-w3m.cgi \
> -		${worksrcpath}/ikiwiki.in \
> -		${worksrcpath}/mdwn2man \
> -		${worksrcpath}/pm_filter
> +    reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \
> +        ${worksrcpath}/ikiwiki.in \
> +        ${worksrcpath}/IkiWiki.pm \
> +        ${worksrcpath}/Makefile.PL \
> +        ${worksrcpath}/ikiwiki-mass-rebuild \
> +        ${worksrcpath}/ikiwiki-transition \
> +        ${worksrcpath}/ikiwiki-update-wikilist \
> +        ${worksrcpath}/ikiwiki-w3m.cgi \
> +        ${worksrcpath}/ikiwiki.in \
> +        ${worksrcpath}/docwiki.setup \
> +        ${worksrcpath}/mdwn2man \
> +        ${worksrcpath}/pm_filter
>  }


It would be nice if in the future you could make purely whitespace  
changes in a separate commit from functional changes.





More information about the macports-dev mailing list