> On Sep 29, 2014, at 5:48 PM, [email protected] wrote: > > Revision > 125934 > Author > [email protected] > Date > 2014-09-29 15:48:32 -0700 (Mon, 29 Sep 2014) > Log Message > > mail/postfinger: > - New port for postfinger, a postfix configuration reporting tool. > > Added Paths > > • trunk/dports/mail/postfinger/ > • trunk/dports/mail/postfinger/Portfile > Diff > > Added: trunk/dports/mail/postfinger/Portfile (0 => 125934) > > --- trunk/dports/mail/postfinger/Portfile (rev 0) > +++ trunk/dports/mail/postfinger/Portfile 2014-09-29 22:48:32 UTC (rev > 125934) > > @@ -0,0 +1,44 @@ > > +# -*- 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 > +# $Id$ > + > +PortSystem 1.0 > + > +name postfinger > +version 1.30 > +categories mail > +platforms darwin > +maintainers pixilla openmaintainer > +license GPL-2+ > + > +description Postfix Configuration Summary Reporter > +long_description ${description} > + > +homepage > http://ftp.wl0.org/SOURCES/postfinger > > +master_sites > ftp://ftp.wl0.org/ftp.wl0.org/postfinger/ > > + > +extract.suffix > + > +distfiles ${name}-${version} \ > + README > +checksums ${name}-${version} \ > + rmd160 62f8e8ce2888bf3d9e615072e9f25284d3f4155e \ > + sha256 > 2c993b87ca3063eb4b81f7f652d6292a72d777be500bda214d54ce485aee2fd0 \ > + README \ > + rmd160 7f08ecd13c073d81ca11ef097370fbdd361adb3d \ > + sha256 > 1e842f569b1d7878adc6bb38a1f5e80d8d3d25de051b820527f7f9fb9a8a4d95 > + > +extract.mkdir yes > +extract { > + file copy ${distpath}/[lindex ${distfiles} 0] ${worksrcpath}/${name} > + file copy ${distpath}/[lindex ${distfiles} 1] ${worksrcpath}/ > +} > +use_configure no > +build {} > +destroot { > + xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ > + xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} > + xinstall -m 644 ${worksrcpath}/README > ${destroot}${prefix}/share/doc/${name}/ > +} > + > +livecheck.url [lindex ${master_sites} 0] > +livecheck.regex ${name}-(\[0-9.\]+)
I presume this is noarch? Remember you'll have to use the unversioned distfile recipe eventually, if the README ever changes. _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
