aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-05-28 16:37:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-05-28 16:37:01 +0000
commit676e4ffcf46d5cce8bab4c7ef63f24826a90c641 (patch)
tree3a0ebbac26c90bb890edae52e750fb6f64fe8a5e /CHANGES
parent0bc41e9815e988220938321783bc6bc87bfaec5c (diff)
downloadports-676e4ffcf46d5cce8bab4c7ef63f24826a90c641.tar.gz
ports-676e4ffcf46d5cce8bab4c7ef63f24826a90c641.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
Notes
Notes: svn path=/head/; revision=387742
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES29
1 files changed, 29 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 5c8a641921fe..f440d7183b32 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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