aboutsummaryrefslogtreecommitdiff
path: root/audio/etktab
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/etktab
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'audio/etktab')
-rw-r--r--audio/etktab/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/audio/etktab/Makefile b/audio/etktab/Makefile
index 75e99a56481d..4849e6c3b290 100644
--- a/audio/etktab/Makefile
+++ b/audio/etktab/Makefile
@@ -23,14 +23,10 @@ WRKSRC= ${WRKDIR}/eTktab-${PORTVERSION}
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-DISTFILES+= canada_multi-3.2.etk:keyboard \
+DOCS_DISTFILES= canada_multi-3.2.etk:keyboard \
dvorak-3.2.etk:keyboard \
uk-3.2.etk:keyboard \
us-3.2.etk:keyboard
-.endif
post-patch:
${REINPLACE_CMD} -e 's|wish|${WISH}|g' ${WRKSRC}/eTktab
@@ -42,12 +38,11 @@ post-extract:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/eTktab ${STAGEDIR}${PREFIX}/bin/etktab
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in CHANGES.html LICENSE.html README.html eTktab-small.xpm eTktab.xpm \
canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>