On 2014-10-31, Tijl Coosemans <[email protected]> wrote:
> For distinfo I was thinking about something like this in the Makefile:
>
> DIST_FILES= FOO BAR
>
> FOO_FILE= foo-1.0
> FOO_SITES= http://www.example.com/foo/
> FOO_SIZE= 12345
> FOO_SHA256= 0123456789abcdef.....
This is where OpenBSD's sha256(1)'s support for checksums in base64
notation would come in handy.
> Then for ports with a single distfile named after PORTNAME (the large
> majority), the above would reduce to: [...]
> Also, if BAR_SITES is the same as FOO_SITES you can use somthing like
> BAR_SITES=${FOO_SITES} of course.
Well, as long as "make makesum" does the right thing...
--
Christian "naddy" Weisgerber [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"