aboutsummaryrefslogtreecommitdiff
path: root/shells/ksh93
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-08-25 08:20:14 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-08-25 08:20:14 +0000
commit95df543e23d860f02de08a39c3cfafea7e49bf45 (patch)
tree192370e39aefe0548b6801c1c5ffa6733f959484 /shells/ksh93
parentc46a353b83bcae29456454193bc6aab7df78d5b2 (diff)
downloadports-95df543e23d860f02de08a39c3cfafea7e49bf45.tar.gz
ports-95df543e23d860f02de08a39c3cfafea7e49bf45.zip
Notes
Diffstat (limited to 'shells/ksh93')
-rw-r--r--shells/ksh93/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index 02834876a099..e39512eb399e 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -23,7 +23,7 @@ COMMENT= Official AT&T release of KornShell 93
LICENSE= EPL
-OPTIONS_DEFINE= STATIC
+OPTIONS_DEFINE= EXAMPLES STATIC
FETCH_ARGS= -Rr
FETCH_ENV= HTTP_AUTH='basic:*:I accept www.opensource.org/licenses/cpl:.'
@@ -52,7 +52,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/ksh ${PREFIX}/bin/ksh93
${INSTALL_MAN} ${WRKSRC}/man/man1/sh.1 ${MAN1PREFIX}/man/man1/ksh93.1
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
cd ${WRKSRC}/fun/ && ${INSTALL_SCRIPT} dirs popd pushd ${EXAMPLESDIR}/
.endif