Date: Wed, 14 Sep 2011 10:55:32 +0900 From: Takefu <takefu@airport.fm> To: freebsd-gnats-submit@freebsd.org Cc: multimedia@FreeBSD.org Subject: [PATCH] audio/libsamplerate: Enabled NOPORTDOCS Message-ID: <4E700994.60508@airport.fm> In-Reply-To: <201109140134.p8E1YiDB056409@unbound.local.ae-osaka.co.jp> References: <201109140134.p8E1YiDB056409@unbound.local.ae-osaka.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
> Category: ports > Synopsis: [PATCH] audio/libsamplerate: Enabled NOPORTDOCS > Confidential: no > Severity: non-critical > Priority: low > Responsible: freebsd-ports-bugs > Class: change-request > Submitter-Id: current-users > Originator: Takefu > Organization: FOX Amateur Radio Club > Description: Enabled NOPORTDOCS > Fix: --- libsamplerate.patch begins here --- diff -ruN /usr/ports/audio/libsamplerate/Makefile audio/libsamplerate/Makefile --- /usr/ports/audio/libsamplerate/Makefile 2011-09-05 09:56:47.000000000 +0900 +++ audio/libsamplerate/Makefile 2011-09-14 10:01:03.000000000 +0900 @@ -25,4 +25,9 @@ USE_LDCONFIG= yes 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> diff -ruN /usr/ports/audio/libsamplerate/pkg-plist audio/libsamplerate/pkg-plist --- /usr/ports/audio/libsamplerate/pkg-plist 2011-09-05 09:56:47.000000000 +0900 +++ audio/libsamplerate/pkg-plist 2011-09-14 09:10:02.000000000 +0900 @@ -5,19 +5,19 @@ lib/libsamplerate.so lib/libsamplerate.so.1 libdata/pkgconfig/samplerate.pc -%%DOCSDIR%%/SRC.css -%%DOCSDIR%%/SRC.png -%%DOCSDIR%%/api.html -%%DOCSDIR%%/api_callback.html -%%DOCSDIR%%/api_full.html -%%DOCSDIR%%/api_misc.html -%%DOCSDIR%%/api_simple.html -%%DOCSDIR%%/download.html -%%DOCSDIR%%/faq.html -%%DOCSDIR%%/history.html -%%DOCSDIR%%/index.html -%%DOCSDIR%%/license.html -%%DOCSDIR%%/lists.html -%%DOCSDIR%%/quality.html -%%DOCSDIR%%/win32.html -@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%DOCSDIR%%/SRC.css +%%PORTDOCS%%%%DOCSDIR%%/SRC.png +%%PORTDOCS%%%%DOCSDIR%%/api.html +%%PORTDOCS%%%%DOCSDIR%%/api_callback.html +%%PORTDOCS%%%%DOCSDIR%%/api_full.html +%%PORTDOCS%%%%DOCSDIR%%/api_misc.html +%%PORTDOCS%%%%DOCSDIR%%/api_simple.html +%%PORTDOCS%%%%DOCSDIR%%/download.html +%%PORTDOCS%%%%DOCSDIR%%/faq.html +%%PORTDOCS%%%%DOCSDIR%%/history.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/license.html +%%PORTDOCS%%%%DOCSDIR%%/lists.html +%%PORTDOCS%%%%DOCSDIR%%/quality.html +%%PORTDOCS%%%%DOCSDIR%%/win32.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- libsamplerate.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E700994.60508>