Skip to content

Instantly share code, notes, and snippets.

@kcwu
Created October 13, 2013 15:38
Show Gist options
  • Save kcwu/6963645 to your computer and use it in GitHub Desktop.
Save kcwu/6963645 to your computer and use it in GitHub Desktop.
fix portconf
.if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf)
_PORTCONF!=/usr/local/libexec/portconf; echo
.for i in ${_PORTCONF:S/|/ /g}
${i:C,=.*,,g} = ${i:C,.*=%*,,:S,%, ,g}
.endfor
.endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment