1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build by removing texlive from USE_TEX.

While here, just add install_docs to INSTALL_TARGET rather than
calling a separate ${MAKE} without MAKE_ENV or MAKE_ARGS.
This commit is contained in:
Adam Weinberger 2014-09-06 15:10:18 +00:00
parent 491a2a264a
commit 4eff544d54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367442
2 changed files with 6 additions and 14 deletions

View File

@ -20,9 +20,10 @@ OPTIONS_DEFINE= DOCS MYDDAS
OPTIONS_SUB= yes
MYDDAS_DESC= Enable MySQL support
DOCS_USE= TEX=formats:build,dvipsk:build,texlive
DOCS_USE= TEX=formats:build,dvipsk:build
DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/texi2html:${PORTSDIR}/textproc/texi2html \
${LOCALBASE}/bin/texi2pdf:${PORTSDIR}/print/texinfo
DOCS_INSTALL_TARGET= install install_doc
MYDDAS_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc
MYDDAS_CONFIGURE_ENABLE= myddas myddas-top-level
@ -32,7 +33,7 @@ STRIP= #none
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-max-performance --disable-clpbn-bp
USES= gmake
USES= gmake
USE_GCC= any
EXTRACT_CMD= ${GZIP_CMD}
@ -50,9 +51,4 @@ post-build:
${REINPLACE_CMD} -e '758,761d' ${WRKSRC}/Makefile
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
(cd ${WRKSRC} ; ${MAKE} DESTDIR=${STAGEDIR} install_docs)
.endif
.include <bsd.port.mk>

View File

@ -15,14 +15,15 @@ CONFLICTS= yap-6.3.*
OPTIONS_DEFINE= DOCS
DOCS_USE= TEX=formats:build,dvipsk:build,texlive
DOCS_USE= TEX=formats:build,dvipsk:build
DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/texi2html:${PORTSDIR}/textproc/texi2html \
${LOCALBASE}/bin/texi2pdf:${PORTSDIR}/print/texinfo
DOCS_INSTALL_TARGET= install install_docs
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-max-performance
USES= gmake
USES= gmake
USE_GCC= any
DOCSDIR= ${PREFIX}/share/doc/Yap
@ -36,9 +37,4 @@ post-build:
${REINPLACE_CMD} -e '559,562d' ${WRKSRC}/Makefile
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
(cd ${WRKSRC} ; ${MAKE} DESTDIR=${STAGEDIR} install_docs)
.endif
.include <bsd.port.mk>