summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2014-07-12 09:26:28 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2014-07-12 09:26:28 +0000
commitb5ef388fe5712f0962e7d7b1c4300732fa0f859c (patch)
tree0749b5ff20de33afa2c9dfb95308d450b90472df
parent95efebc91fc6be227264b8ad4df8cf7bf97ac3d6 (diff)
document the GitHub support in bsd.port.mk
-rw-r--r--share/man/man5/bsd.port.mk.516
1 files changed, 14 insertions, 2 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index a3c9afa54ca..bbaf247eaa7 100644
--- a/share/man/man5/bsd.port.mk.5
+++ b/share/man/man5/bsd.port.mk.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bsd.port.mk.5,v 1.397 2014/06/25 09:43:36 zhuk Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.398 2014/07/12 09:26:27 robert Exp $
.\"
.\" Copyright (c) 2000-2008 Marc Espie
.\"
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 25 2014 $
+.Dd $Mdocdate: July 12 2014 $
.Dt BSD.PORT.MK 5
.Os
.Sh NAME
@@ -1685,6 +1685,18 @@ Use with
or
.Ev ONLY_FOR_ARCHS
to limit ports to architectures where they compile.
+.It Ev GH_ACCOUNT
+Account name of the GitHub user hosting the project.
+.It Ev GH_COMMIT
+SHA1 commit id to fetch. It is good practice to always specify
+the commit id, even if ${GH_TAGNAME} was specified.
+.It Ev GH_PROJECT
+Name of the project on GitHub.
+.It Ev GH_TAGNAME
+Name of the tag to download. Setting ${GH_TAGNAME} to master is invalid
+and will throw an error. ${WRKDIST} is auto-generated based on the the
+${GH_TAGNAME} if specified, otherwise ${GH_COMMIT} will be used to generate
+${WRKDIST}.
.It Ev GMAKE
Location of the GNU make binary, if needed.
Defaults to gmake.