Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison Makefile @ 41:ce7023fc4f71
HGpath now yields the file-URL of `hg root` if no default path is configured
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Tue, 21 Nov 2017 20:25:03 +0100 |
| parents | bc2df2421435 |
| children | 22b7c9e08b13 |
comparison
equal
deleted
inserted
replaced
| 40:bc2df2421435 | 41:ce7023fc4f71 |
|---|---|
| 24 PLIST_FILES= bin/check-ports | 24 PLIST_FILES= bin/check-ports |
| 25 | 25 |
| 26 HGREVISION= ${:!hg id -R "${SRC}" -q!} | 26 HGREVISION= ${:!hg id -R "${SRC}" -q!} |
| 27 HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} | 27 HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} |
| 28 HGAUTHOR= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}' | ${TR} ' ' '+'!} | 28 HGAUTHOR= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}' | ${TR} ' ' '+'!} |
| 29 HGPATH= ${:!hg paths -R "${SRC}" default!} | 29 HGPATH= ${:!hg --config ui.paginate=never path -R "${SRC}" default || echo "file://`hg root`"!} |
| 30 | 30 |
| 31 do-extract: | 31 do-extract: |
| 32 ${MKDIR} ${WRKSRC}/bin | 32 ${MKDIR} ${WRKSRC}/bin |
| 33 .for _rp in ${PLIST_FILES} | 33 .for _rp in ${PLIST_FILES} |
| 34 ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp} | 34 ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp} |
