Changeset View
Changeset View
Standalone View
Standalone View
head/audio/lash/Makefile
Show All 31 Lines | |||||
OPTIONS_DEFAULT=READLINE | OPTIONS_DEFAULT=READLINE | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
PYTHON_DESC= Build pylash | PYTHON_DESC= Build pylash | ||||
PYTHON_USES= python | PYTHON_USES= python | ||||
PYTHON_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 | PYTHON_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 | ||||
PYTHON_CONFIGURE_OFF= --disable-pylash | 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} | DOCS_BUILD_DEPENDS= texi2html:${PORTSDIR}/textproc/texi2html | ||||
USES+= readline | DOCS_CONFIGURE_ENV_OFF= ac_cv_prog_lash_texi2html=no | ||||
.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 | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
'/if test/s|==|=|' ${WRKSRC}/configure | '/if test/s|==|=|' ${WRKSRC}/configure | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
'/texi2html/s|--number||' ${WRKSRC}/docs/Makefile.in | '/texi2html/s|--number||' ${WRKSRC}/docs/Makefile.in | ||||
post-install: | post-install-DOCS-on: | ||||
.if ${PORT_OPTIONS:MDOCS} | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_DATA} ${WRKSRC}/docs/lash-manual-html-one-page/lash-manual.html \ | ${INSTALL_DATA} ${WRKSRC}/docs/lash-manual-html-one-page/lash-manual.html \ | ||||
${STAGEDIR}${DOCSDIR} | ${STAGEDIR}${DOCSDIR} | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |