Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 43:22b7c9e08b13
Make the name of the canonical Mercurial path configurable.
Thus introduced a make variable named "HGCANONICALPATH".
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Wed, 22 Nov 2017 08:54:51 +0100 |
| parents | ace5d471abbd |
| children | 094324510aa2 |
| files | Makefile |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Nov 22 08:49:18 2017 +0100 +++ b/Makefile Wed Nov 22 08:54:51 2017 +0100 @@ -23,10 +23,11 @@ PLIST_FILES= bin/check-ports +HGCANONICALPATH?= default HGREVISION= ${:!hg id -R "${SRC}" -q!} HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} HGAUTHOR= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}' | ${TR} ' ' '+'!} -HGPATH= ${:!hg --config ui.paginate=never path -R "${SRC}" default || echo "file://`hg root`"!} +HGPATH= ${:!hg --config ui.paginate=never path -R "${SRC}" ${HGCANONICALPATH} || echo "file://`hg root`"!} do-extract: ${MKDIR} ${WRKSRC}/bin
