FreeBSD Bugzilla – Attachment 154783 Details for
Bug 194898
[bsd.sites.mk] Change GitHub URL to comply with their API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Include file with (possible) GitHub usage example
githubv3.mk (text/plain), 1.04 KB, created by
lightside
on 2015-03-24 23:45:30 UTC
(
hide
)
Description:
Include file with (possible) GitHub usage example
Filename:
MIME Type:
Creator:
lightside
Created:
2015-03-24 23:45:30 UTC
Size:
1.04 KB
patch
obsolete
>.if !defined(_INCLUDE_GITHUBv3_MK) >_INCLUDE_GITHUBv3_MK= yes > >.if defined(USE_GITHUBv3) ># Account on GitHub >GH_ACCOUNT?= ${PORTNAME} ># Project on GitHub >GH_PROJECT?= ${PORTNAME} >.if defined(GH_COMMIT) >GH_METHOD?= tarball >.elif defined(GH_TAGNAME) >GH_METHOD?= archive >.else >IGNORE= GH_COMMIT or GH_TAGNAME need to be defined. >.endif > >.if ${GH_METHOD:Mzipball} >USES+= zip >.endif > >.if ${GH_METHOD:Mtarball} || ${GH_METHOD:Mzipball} ># Useful for known 7 alphanumeric commit (or not moving branch, as reference) >MASTER_SITES?= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_METHOD}/${GH_REFERENCE}?dummy=/ >GH_REFERENCE?= ${GH_COMMIT} >WRKSRC?= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} >.elif ${GH_METHOD:Marchive} ># Useful for known tag, without the need to write commit >MASTER_SITES?= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_METHOD}/${GH_TAGNAME}${EXTRACT_SUFX}?dummy=/ >WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME:C/^v([0-9])/\1/} >.else >IGNORE= Not supported GH_METHOD=${GH_METHOD}. Supported: archive, tarball, zipball. >.endif > >.endif > >.endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 194898
:
149183
|
154783
|
154942
|
154943