new target to display options
Roman Neuhauser
neuhauser at bellavista.cz
Fri Apr 18 03:13:07 PDT 2003
Hi there,
various ports display messages informing the user that they can use
WITH_THIS or WITHOUT_THAT. these messages are put into pre-everything,
pre-fetch, post-fetch... How about a new target, say, "options"?
/usr/ports/foo/bar/Makefile:
options:
@${ECHO_CMD} "You can use the following variables to build this port:"
@${ECHO_CMD} "WITH_FOO: includes support for FOO"
@${ECHO_CMD} "WITHOUT_BAR: disables support for BAR"
/usr/ports/Mk/bsd.port.mk:
.if !target(options)
options:
@${ECHO_CMD} "No user-servicable parts inside."
@${ECHO_CMD} "Warranty void if removed."
.endif
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
More information about the freebsd-ports
mailing list