Sponsored by: Axcient
Details
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sysutils/gstat-rs/Makefile | ||
---|---|---|
18 | ||
106 | These pkg-message lines looks out of place, any reason why you can't use the framework? |
sysutils/gstat-rs/Makefile | ||
---|---|---|
18 | NM; you're right. |
sysutils/gstat-rs/files/pkg-message.in | ||
---|---|---|
12 | What would be the right line for zsh? |
sysutils/gstat-rs/files/pkg-message.in | ||
---|---|---|
12 | echo alias gstat='/usr/local/sbin/gstat-rs' >> %%PREFIX%%/etc/zshrc |
Otherwise, the patch seems pretty solid. I'd run portfmt -i Makefile before committing (I think that CARGO_ENV is going to be indented differently by this formatting tool).
sysutils/gstat-rs/Makefile | ||
---|---|---|
18 | GH_TAGNAME may go away if you set DISTVERSIONPREFIX to gstat-v I think. | |
103 | AFAIK, portmgr@ recommends using ${INSTALL_PROGRAM} in this case (as a bonus you can drop the next line with STRIP_CMD). | |
105 | Ideally, the destination path should be ${STAGEDIR}${MAN8PREFIX}/share/man/man8/gstat-rs.8 instead of ${STAGEDIR}${MAN8PREFIX}/man/man8/gstat-rs.8. | |
sysutils/gstat-rs/files/pkg-message.in | ||
6 | I'm not sure if the leading spaces are stripped, but the Porter's Handbook has an example using a heredoc which does not use them. | |
12 |
+1 | |
sysutils/gstat-rs/pkg-descr | ||
4–5 | +1 |
Apart from possibly changing post-install to do-install, the patch is ready to go in my opinion.
sysutils/gstat-rs/Makefile | ||
---|---|---|
103 | Now that I think about it, perhaps post-install could be do-install. Then you can get rid of the RM command and the CARGO_INSTALL_PATH variable (I'm not sure about this one though). |