[103793] trunk/dports/devel/lua-numlua
Ryan Schmidt
ryandesign at macports.org
Fri Mar 8 00:22:35 PST 2013
On Mar 7, 2013, at 11:46, and.damore at macports.org wrote:
> Revision: 103793
> https://trac.macports.org/changeset/103793
> Author: and.damore at macports.org
> Date: 2013-03-07 09:46:00 -0800 (Thu, 07 Mar 2013)
> Log Message:
> -----------
> port lua-numlua: updating to 0.3, dropping old patchfiles, adding a Makefile created ad-hoc, adding myself as maintiainer, fixes #38247; maintainer timeout
>
> Modified Paths:
> --------------
> trunk/dports/devel/lua-numlua/Portfile
>
> Added Paths:
> -----------
> trunk/dports/devel/lua-numlua/files/Makefile
>
> Removed Paths:
> -------------
> trunk/dports/devel/lua-numlua/files/patch-Makefile.diff
> trunk/dports/devel/lua-numlua/files/patch-lib-Makefile.diff
> trunk/dports/devel/lua-numlua/files/patch-lib-config.diff
> trunk/dports/devel/lua-numlua/files/patch-src-Makefile.diff
>
> Modified: trunk/dports/devel/lua-numlua/Portfile
> ===================================================================
> --- trunk/dports/devel/lua-numlua/Portfile 2013-03-07 16:41:55 UTC (rev 103792)
> +++ trunk/dports/devel/lua-numlua/Portfile 2013-03-07 17:46:00 UTC (rev 103793)
> @@ -1,50 +1,60 @@
> # $Id$
>
> PortSystem 1.0
> +PortGroup github 1.0
>
> +github.setup carvalho numlua 0.3
> +github.tarball_from downloads
Here you say you're going to fetch from github downloads
> +use_zip yes
> +master_sites https://github.com/carvalho/numlua/archive/
> +set archive_hash f05281e96030adb9c09a01b9d9be4fa9fa4c795e
> +distfiles ${archive_hash}.zip
> +worksrcdir numlua-${archive_hash}
But here you override that by setting your own values. Was downloading from github downloads, as configured by the portgroup, not working?
> +depends_lib-append port:lua \
> + port:atlas \
> + lib:fftw:fftw-3 \
> + lib:hdf5:hdf5-18
lib:-style dependencies should almost never be used, because they allow libraries installed outside of MacPorts to satisfy them. Use port:- or path:-style dependencies instead unless there's a specific reason.
More information about the macports-dev
mailing list