aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:15:47 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:15:47 +0000
commit4a3bebcae1b693cbd2080fc861c87e36af4f8bc4 (patch)
tree3c6875e1915991a70b5d02b799e17418d20b218a /misc
parente1bfdfbe5665c963621e06f6bbfbbc2c000a804e (diff)
downloadports-4a3bebcae1b693cbd2080fc861c87e36af4f8bc4.tar.gz
ports-4a3bebcae1b693cbd2080fc861c87e36af4f8bc4.zip
Add EXAMPLES options to ports that should have one.
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
Notes
Notes: svn path=/head/; revision=479407
Diffstat (limited to 'misc')
-rw-r--r--misc/gwhich/Makefile2
-rw-r--r--misc/heyu2/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/misc/gwhich/Makefile b/misc/gwhich/Makefile
index 0048b0d793c1..ceca9bc521fa 100644
--- a/misc/gwhich/Makefile
+++ b/misc/gwhich/Makefile
@@ -17,6 +17,8 @@ INFO= which
PORTEXAMPLES= EXAMPLES
PLIST_FILES= bin/gwhich man/man1/gwhich.1.gz
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${EXAMPLESDIR}
diff --git a/misc/heyu2/Makefile b/misc/heyu2/Makefile
index bfa603ef36a5..24c07dd9b935 100644
--- a/misc/heyu2/Makefile
+++ b/misc/heyu2/Makefile
@@ -19,7 +19,7 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= freebsd
-OPTIONS_DEFINE= CM17A EXTENDED RFXSENS RFXMETER DMX OREGON
+OPTIONS_DEFINE= CM17A EXTENDED RFXSENS RFXMETER DMX OREGON EXAMPLES
CM17A_DESC= X10 CM17A "Firecracker" Support
EXTENDED_DESC= Extended Type 0 (Shutter/Shade) Support
RFXSENS_DESC= RFXSensors (RF) Support