Created attachment 173806 [details] svn diff to upgrade textproc/zsh-syntax-highlighting to 20160816 portlint: OK testport: OK (poudriere: 10.3-RELEASE-p5, amd64, default options) [1] While here - add DOCS option - patch upstream Makefile so that port defined locations are respected - add NO_BUILD=yes. [1] http://pkg.awarnach.mathstat.dal.ca/data/10amd64-default/2016-08-17_20h54m23s/logs/zsh-syntax-highlighting-20160816.log
You don't seem to need MAKE_ENV and makefile patcing. Upstream Makefile already uses ?= so it respects values passed through environment, so you could just pass SHARE_DIR and DOC_DIR (PREFIX is always passed by the framework), but since they are already equal to our DATADIR and DOCSDIR values, no extra actions are needed at all. I suggest to commit this without MAKE_ENV and post-patch bits.
Should we be concerned when the defaults for DATADIR and DOCSDIR are overridden? In those cases, upstream's SHARE_DIR and DOC_DIR won't be correct.
(In reply to Joseph Mingrone from comment #2) > Should we be concerned when the defaults for DATADIR and DOCSDIR are > overridden? In those cases, upstream's SHARE_DIR and DOC_DIR won't be > correct. No, DATADIR and DOCSDIR are not supposed to be set by the user.
Created attachment 173824 [details] new svn diff reflecting amdmi3's recommendations - remove unnecessary post-patch parts
A commit references this bug: Author: amdmi3 Date: Fri Aug 19 11:49:10 UTC 2016 New revision: 420459 URL: https://svnweb.freebsd.org/changeset/ports/420459 Log: - Update to 20160816 - Add NO_BUILD - Optionize DOCS PR: 211955 Submitted by: jrm@ftfl.ca (maintainer) Changes: head/textproc/zsh-syntax-highlighting/Makefile head/textproc/zsh-syntax-highlighting/distinfo