On Jan 21, 2012, at 11:35, [email protected] wrote:

> Revision: 89221
>          http://trac.macports.org/changeset/89221
> Author:   [email protected]
> Date:     2012-01-21 09:34:59 -0800 (Sat, 21 Jan 2012)
> Log Message:
> -----------
> editors/nedit:
> Remove platform block as we are always building for darwin.

Not necessarily.

And if I write a patch that is specific to OS X and would cause problems on 
other OSes, I do strive to put that in a "platform darwin" block to make that 
clear to anyone else reading the portfile.


> Add a working livecheck.
> 
> Modified Paths:
> --------------
>    trunk/dports/editors/nedit/Portfile
> 
> Modified: trunk/dports/editors/nedit/Portfile
> ===================================================================
> --- trunk/dports/editors/nedit/Portfile       2012-01-21 16:56:52 UTC (rev 
> 89220)
> +++ trunk/dports/editors/nedit/Portfile       2012-01-21 17:34:59 UTC (rev 
> 89221)
> @@ -31,8 +31,11 @@
> 
> worksrcdir       ${name}-${version}
> 
> +patchfiles       patch-Makefile.macosx
> +
> use_configure    no
> 
> +build.target    macosx
> build.args      MOTIFLINK="${configure.ldflags} -lXm" \
>                 MOTIFDIR=${prefix} \
>                 LDFLAGS="${configure.ldflags}" \
> @@ -52,7 +55,4 @@
>         ${destroot}${prefix}/share/man/man1/nedit-nc.1
> }
> 
> -platform darwin {
> -    patchfiles   patch-Makefile.macosx
> -    build.target macosx
> -}
> +livecheck.regex {/nedit-source/(\d+(?:\.\d+)+)/}



_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to