aboutsummaryrefslogtreecommitdiffstats
path: root/shells/ksh93
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-08-25 16:20:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-08-25 16:20:14 +0800
commit3bb9c87e2ed747bb2a7b4f987a31b7d6d24b1537 (patch)
tree192370e39aefe0548b6801c1c5ffa6733f959484 /shells/ksh93
parent1355536a0ef65e247c04fc2e7bb54c56fe763907 (diff)
downloadfreebsd-ports-gnome-3bb9c87e2ed747bb2a7b4f987a31b7d6d24b1537.tar.gz
freebsd-ports-gnome-3bb9c87e2ed747bb2a7b4f987a31b7d6d24b1537.tar.zst
freebsd-ports-gnome-3bb9c87e2ed747bb2a7b4f987a31b7d6d24b1537.zip
- Convert to new options framework
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