[110231] trunk/dports/devel/uthash/Portfile
Ryan Schmidt
ryandesign at macports.org
Thu Aug 29 20:35:06 PDT 2013
On Aug 29, 2013, at 00:08, mww at macports.org wrote:
> Revision: 110231
> https://trac.macports.org/changeset/110231
> Author: mww at macports.org
> Date: 2013-08-28 22:08:35 -0700 (Wed, 28 Aug 2013)
> Log Message:
> -----------
> uthash: version 1.9.8
>
> Modified Paths:
> --------------
> trunk/dports/devel/uthash/Portfile
>
> Modified: trunk/dports/devel/uthash/Portfile
> ===================================================================
> --- trunk/dports/devel/uthash/Portfile 2013-08-29 05:07:40 UTC (rev 110230)
> +++ trunk/dports/devel/uthash/Portfile 2013-08-29 05:08:35 UTC (rev 110231)
> @@ -3,7 +3,7 @@
> PortSystem 1.0
>
> name uthash
> -version 1.9.7
> +version 1.9.8
> categories devel
> platforms darwin
> maintainers mww
> @@ -12,11 +12,13 @@
> long_description ${description}
>
> homepage http://uthash.sourceforge.net/
> -master_sites sourceforge
> -checksums rmd160 7bcc560bb1b8a930eb3ceca7a60b18ce1021b8ae \
> - sha256 956f5c99798349c413275fe4c9ff128d72e280655dadbe4365f8e9fbda91393f
> -use_bzip2 yes
> +master_sites https://github.com/troydhanson/uthash/archive/
> +distname v${version}
> +checksums rmd160 6f5ab69c8aa7c49fc44519692eb74b0055d6393a \
> + sha256 d9d123ce81c5d127442876fc3b12fab3ad632bee6aca685be7d461c08e24c046
>
> +worksrcdir ${name}-${version}
> +
> use_configure no
>
> supported_archs noarch
> @@ -30,11 +32,11 @@
> xinstall -d ${destroot}${prefix}/share/doc/
> copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
> delete ${destroot}${prefix}/share/doc/${name}/Makefile
> - xinstall -m 644 -W ${worksrcpath} README LICENSE \
> + xinstall -m 644 -W ${worksrcpath} README.md LICENSE \
> ${destroot}${prefix}/share/doc/${name}
> }
>
> livecheck.type regex
> -livecheck.url ${homepage}
> -livecheck.regex ${name}-(\[0-9\\.\]+)\\${extract.suffix}
> +livecheck.url https://github.com/troydhanson/uthash/releases
> +livecheck.regex v(\[0-9.\]+).tar.gz
Since this is now hosted at github, please consider using the github portgroup since it automatically takes care of many of the things you're doing manually above.
More information about the macports-dev
mailing list