diff options
author | mat <mat@FreeBSD.org> | 2015-05-29 00:37:01 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-05-29 00:37:01 +0800 |
commit | a8fbbbec54adb390ede738bd1cc5e138480978c3 (patch) | |
tree | 3a0ebbac26c90bb890edae52e750fb6f64fe8a5e /CHANGES | |
parent | bc55f78ee9825d6f0dc0d0b903472dbfc6b61480 (diff) | |
download | freebsd-ports-gnome-a8fbbbec54adb390ede738bd1cc5e138480978c3.tar.gz freebsd-ports-gnome-a8fbbbec54adb390ede738bd1cc5e138480978c3.tar.zst freebsd-ports-gnome-a8fbbbec54adb390ede738bd1cc5e138480978c3.zip |
USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature
similar to MASTER_SITES/PATCH_SITES.
Some helpful variables are provided: WRKSRC_<group> for putting things in the
right place in post-extract, and DISTNAME_<group>/DISTFILE_<group> for use with
EXTRACT_ONLY.
PR: 200483
Differential Revision: https://reviews.freebsd.org/D2608
Submitted by: mat
With hat: portmgr
Exp run by: antoine
Sponsored by: Absolight
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -10,6 +10,35 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20150528: +AUTHOR: mat@FreeBSD.org + + USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature + similar to MASTER_SITES/PATCH_SITES. + + Some helpful variables are provided: WRKSRC_<group> for putting things in the + right place in post-extract, and DISTNAME_<group>/DISTFILE_<group> for use + with EXTRACT_ONLY. + + A simple example: + + PORTNAME= bar + PORTVERSION= 1.0 + USE_GITHUB= yes + GH_ACCOUNT= foo + GH_PROJECT= ${PORTNAME}-images:images + + post-extract: + @${MV} ${WRKSRC_images} ${WRKSRC}/images + + It will fetch those two distfiles: + + $ make fetch-urlall-list + https://codeload.github.com/foo/bar/tar.gz/1.0?dummy=/foo-bar-1.0_GH0.tar.gz + https://codeload.github.com/foo/bar-images/tar.gz/1.0?dummy=/foo-bar-images-1.0-1.0.tar.gz + + It will then extract them to ${WRKDIR} in their respectives directories. + 20150526: AUTHOR: antoine@FreeBSD.org |