aboutsummaryrefslogtreecommitdiffstats
path: root/audio/lash
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/lash
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'audio/lash')
-rw-r--r--audio/lash/Makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/audio/lash/Makefile b/audio/lash/Makefile
index 68f40c2b8d7e..5a1720f3bc46 100644
--- a/audio/lash/Makefile
+++ b/audio/lash/Makefile
@@ -37,19 +37,11 @@ PYTHON_USES= python
PYTHON_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
PYTHON_CONFIGURE_OFF= --disable-pylash
-.include <bsd.port.options.mk>
+READLINE_USES= readline
+READLINE_CONFIGURE_ENV_OFF= vl_cv_lib_readline=no
-.if ${PORT_OPTIONS:MREADLINE}
-USES+= readline
-.else
-CONFIGURE_ENV+= vl_cv_lib_readline=no
-.endif
-
-.if ${PORT_OPTIONS:MDOCS}
-BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html
-.else
-CONFIGURE_ENV+= ac_cv_prog_lash_texi2html=no
-.endif
+DOCS_BUILD_DEPENDS= texi2html:${PORTSDIR}/textproc/texi2html
+DOCS_CONFIGURE_ENV_OFF= ac_cv_prog_lash_texi2html=no
post-patch:
@${REINPLACE_CMD} -e \
@@ -57,11 +49,9 @@ post-patch:
@${REINPLACE_CMD} -e \
'/texi2html/s|--number||' ${WRKSRC}/docs/Makefile.in
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/lash-manual-html-one-page/lash-manual.html \
${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>