Bug 180949 - [PATCH] Add some documentation to bsd.options.mk knobs.
Summary: [PATCH] Add some documentation to bsd.options.mk knobs.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 18:10 UTC by Mathieu Arnold
Modified: 2013-08-01 13:52 UTC (History)
0 users

See Also:


Attachments
doc (1.49 KB, text/plain)
2013-07-30 18:10 UTC, Mathieu Arnold
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer freebsd_triage 2013-07-30 18:10:00 UTC

Fix: Fill tree to change the wording :-)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-30 18:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.options.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2013-08-01 12:53:51 UTC
Incomplete but better than no documentation :D

Approved
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-08-01 13:33:01 UTC
Author: mat
Date: Thu Aug  1 12:32:52 2013
New Revision: 324101
URL: http://svnweb.freebsd.org/changeset/ports/324101

Log:
  Document the new bsd.options.mk knobs.
  
  PR:		ports/180949
  Submitted by:	mat
  Approved by:	bapt

Modified:
  head/Mk/bsd.options.mk   (contents, props changed)

Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk	Thu Aug  1 11:57:14 2013	(r324100)
+++ head/Mk/bsd.options.mk	Thu Aug  1 12:32:52 2013	(r324101)
@@ -68,6 +68,38 @@
 #
 # WITH						- Set options from the command line
 # WITHOUT					- Unset options from the command line
+#
+#
+# The following knobs are there to simplfy the handling of OPTIONS in simple
+# cases :
+#
+# OPTIONS_SUB				When defined it will add to PLIST_SUB:
+#							Option enabled  ${opt}=""
+#							Option disabled ${opt}="@comment "
+#
+# ${opt}_CONFIGURE_ON		When option is enabled, it will add its content to
+#							the CONFIGURE_ARGS.
+# ${opt}_CONFIGURE_OFF		When option is disabled, it will add its content to
+#							the CONFIGURE_ARGS.
+# ${opt}_CONFIGURE_ENABLE	Will add to CONFIGURE_ARGS:
+#							Option enabled  --enable-${content}
+#							Option disabled --disable-${content}
+# ${opt}_CONFIGURE_WITH		Will add to CONFIGURE_ARGS:
+#							Option enabled  --with-${content}
+#							Option disabled --without-${content}
+#			
+# ${opt}_CMAKE_ON			When option is enabled, it will add its content to
+#							the CMAKE_ARGS.
+# ${opt}_CMAKE_OFF			When option is disabled, it will add its content to
+#							the CMAKE_ARGS.
+#
+# For each of CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES,
+# defining ${opt}_${variable} will add it to the actual variable when the
+# option is enabled.
+#
+# For each of the depends target PKG EXTRACT PATCH FETCH BUILD LIB RUN,
+# defining ${opt}_${deptype}_DEPENDS will add it to the actual dependency when
+# the option is enabled.
 
 ##
 # Set all the options available for the ports, beginning with the
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2013-08-01 13:52:39 UTC
State Changed
From-To: open->closed

Committed.