git: 515f5dd90c - main - porters-handbook: Freshen up example dates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Jun 2026 18:19:53 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/doc/commit/?id=515f5dd90c0017586366224f69dd6460d143022f
commit 515f5dd90c0017586366224f69dd6460d143022f
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-06-26 15:29:53 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-06-27 18:19:06 +0000
porters-handbook: Freshen up example dates
Avoid looking like this document is over a decade old.
Reviewed by: jrm, bcr
Event: Halifax Hackathon 202606
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57900
---
.../content/en/books/porters-handbook/makefiles/_index.adoc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
index 092db269e2..801ffd5066 100644
--- a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
@@ -1535,19 +1535,19 @@ While trying to make a port for the bleeding edge version of pkg from the FreeBS
[.programlisting]
....
PORTNAME= pkg-devel
-DISTVERSION= 1.3.0.a.20140411
+DISTVERSION= 2.7.4.20260626
USE_GITHUB= yes
GH_ACCOUNT= freebsd
GH_PROJECT= pkg
-GH_TAGNAME= 6dbb17b
+GH_TAGNAME= 2678d2b
....
It will automatically have `MASTER_SITES` set to `GH` and `WRKSRC` to `${WRKDIR}/pkg-6dbb17b`.
[TIP]
****
-`20140411` is the date of the commit referenced in `GH_TAGNAME`, not the date the [.filename]#Makefile# is edited, or the date the commit is made.
+`20260626` is the date of the commit referenced in `GH_TAGNAME`, not the date the [.filename]#Makefile# is edited, or the date the commit is made.
****
====
@@ -1582,7 +1582,7 @@ Create the port with a `DISTVERSION` of `g__YYYYMMDD__`, where `g` is for Git, a
[.programlisting]
....
PORTNAME= bar
-DISTVERSION= g20140411
+DISTVERSION= g20260626
USE_GITHUB= yes
GH_TAGNAME= c472d66b
@@ -1593,7 +1593,7 @@ See crossref:makefiles[makefile-versions-ex-pkg-version, this secion on how to c
[source,shell]
....
-% pkg version -t g20140411 0
+% pkg version -t g20260626 0
<
....