mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- fix build for NOPORTDOCS
Reported by: QAT
This commit is contained in:
parent
315555d357
commit
aeeab93e58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238104
@ -386,6 +386,7 @@ post-patch:
|
||||
-e "s|\([^:]*:.*\) install-demoDATA\(.*\)|\1\2|g" \
|
||||
-e "s|\([^:]*:.*\) install-demoSCRIPTS\(.*\)|\1\2|g" \
|
||||
-e "s|\([^:]*:.*\) install-pathplanexampleDATA\(.*\)|\1\2|g" \
|
||||
-e 's|txtdir = $$(pkgdatadir)/doc|txtdir = ${DOCSDIR}|' \
|
||||
-e 's|demodir = $$(pkgdatadir)/demo|demodir = ${EXAMPLESDIR}|';
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|^\.SUFFIXES: \(.*\)\.1\(.*\)|.SUFFIXES: \1 \2|' \
|
||||
@ -405,6 +406,10 @@ post-patch:
|
||||
${WRKSRC}/cmd/smyrna/tvnodes.h
|
||||
@${REINPLACE_CMD} -e 's|#include "regex_win32.h"|#include <regex.h>|' \
|
||||
${WRKSRC}/cmd/smyrna/btree.c
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e 's| install-txtDATA$$||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install: install-ldconfig-file
|
||||
cd ${WRKSRC}/lib/expr && \
|
||||
@ -412,11 +417,11 @@ post-install: install-ldconfig-file
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_DATA} ${FIX_INCLUDE} ${PREFIX}/include/graphviz/
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}/doc
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}/html
|
||||
@${MKDIR} ${DOCSDIR}/pdf
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_DATA} ${PDOCS_TXT} ${DOCSDIR}/doc/ && \
|
||||
${INSTALL_DATA} ${PDOCS_TXT} ${DOCSDIR}/ && \
|
||||
${INSTALL_DATA} ${PDOCS_PDF} ${DOCSDIR}/pdf/ && \
|
||||
${INSTALL_DATA} ${PDOCS_HTML} ${DOCSDIR}/html/
|
||||
. for i in neato.pdf twopi.pdf fdp.pdf circo.pdf
|
||||
|
@ -196,13 +196,12 @@ libdata/pkgconfig/libgraph.pc
|
||||
libdata/pkgconfig/libcgraph.pc
|
||||
libdata/pkgconfig/libpathplan.pc
|
||||
libdata/pkgconfig/libgvc.pc
|
||||
%%PORTDOCS%%%%DATADIR%%/doc/AUTHORS
|
||||
%%PORTDOCS%%%%DATADIR%%/doc/COPYING
|
||||
%%PORTDOCS%%%%DATADIR%%/doc/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/doc/Dot.ref
|
||||
%%PORTDOCS%%%%DATADIR%%/doc/NEWS
|
||||
%%PORTDOCS%%%%DATADIR%%/doc/cpl1.0.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/doc/latex_suggestions.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Dot.ref
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cpl1.0.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/FAQ.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/build.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/char.html
|
||||
@ -314,6 +313,7 @@ libdata/pkgconfig/libgvc.pc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/trapezium.gif
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/triangle.gif
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/tripleoctagon.gif
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex_suggestions.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pdf/acyclic.1.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pdf/bcomps.1.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pdf/ccomps.1.pdf
|
||||
@ -568,7 +568,6 @@ libdata/pkgconfig/libgvc.pc
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/pathplan_data
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/pdf
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user