- Support NOPORTDOCS
PR: ports/160720 Submitted by: Takefu <takefu@airport.fm>
This commit is contained in:
parent
9a897af1d9
commit
e2000656d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282840
2 changed files with 21 additions and 16 deletions
|
@ -25,4 +25,9 @@ USE_AUTOTOOLS= libtool
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
MAKE_ARGS= htmldocdir=${PREFIX}/share/doc/libsamplerate
|
MAKE_ARGS= htmldocdir=${PREFIX}/share/doc/libsamplerate
|
||||||
|
|
||||||
|
pre-install:
|
||||||
|
.if defined(NOPORTDOCS)
|
||||||
|
@${REINPLACE_CMD} -e 's/SUBDIRS = M4 src doc examples tests/SUBDIRS = M4 src examples tests/' ${WRKSRC}/Makefile
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -5,19 +5,19 @@ lib/libsamplerate.la
|
||||||
lib/libsamplerate.so
|
lib/libsamplerate.so
|
||||||
lib/libsamplerate.so.1
|
lib/libsamplerate.so.1
|
||||||
libdata/pkgconfig/samplerate.pc
|
libdata/pkgconfig/samplerate.pc
|
||||||
%%DOCSDIR%%/SRC.css
|
%%PORTDOCS%%%%DOCSDIR%%/SRC.css
|
||||||
%%DOCSDIR%%/SRC.png
|
%%PORTDOCS%%%%DOCSDIR%%/SRC.png
|
||||||
%%DOCSDIR%%/api.html
|
%%PORTDOCS%%%%DOCSDIR%%/api.html
|
||||||
%%DOCSDIR%%/api_callback.html
|
%%PORTDOCS%%%%DOCSDIR%%/api_callback.html
|
||||||
%%DOCSDIR%%/api_full.html
|
%%PORTDOCS%%%%DOCSDIR%%/api_full.html
|
||||||
%%DOCSDIR%%/api_misc.html
|
%%PORTDOCS%%%%DOCSDIR%%/api_misc.html
|
||||||
%%DOCSDIR%%/api_simple.html
|
%%PORTDOCS%%%%DOCSDIR%%/api_simple.html
|
||||||
%%DOCSDIR%%/download.html
|
%%PORTDOCS%%%%DOCSDIR%%/download.html
|
||||||
%%DOCSDIR%%/faq.html
|
%%PORTDOCS%%%%DOCSDIR%%/faq.html
|
||||||
%%DOCSDIR%%/history.html
|
%%PORTDOCS%%%%DOCSDIR%%/history.html
|
||||||
%%DOCSDIR%%/index.html
|
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||||
%%DOCSDIR%%/license.html
|
%%PORTDOCS%%%%DOCSDIR%%/license.html
|
||||||
%%DOCSDIR%%/lists.html
|
%%PORTDOCS%%%%DOCSDIR%%/lists.html
|
||||||
%%DOCSDIR%%/quality.html
|
%%PORTDOCS%%%%DOCSDIR%%/quality.html
|
||||||
%%DOCSDIR%%/win32.html
|
%%PORTDOCS%%%%DOCSDIR%%/win32.html
|
||||||
@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
|
|
Loading…
Reference in a new issue