From f41d971ed42f38425c6028340067ef80993ddf21 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 22 Sep 2014 09:58:00 +0000 Subject: Remove useless patching of Makefile.in and let options framework handle what should go in the package Cleanup plist --- audio/libsamplerate/Makefile | 10 +--------- audio/libsamplerate/pkg-plist | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'audio/libsamplerate') diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile index 9592060ad4b9..b7d7f314dbe3 100644 --- a/audio/libsamplerate/Makefile +++ b/audio/libsamplerate/Makefile @@ -43,15 +43,7 @@ BUILD_DEPENDS += libsndfile>=0:${PORTSDIR}/audio/libsndfile CONFIGURE_ARGS+= --disable-sndfile .endif -post-patch: -.if empty(PORT_OPTIONS:MDOCS) - @${REINPLACE_CMD} -e '/SUBDIRS =/s/doc //' ${WRKSRC}/Makefile.in -.endif -.if empty(PORT_OPTIONS:MEXAMPLES) - @${REINPLACE_CMD} -e '/SUBDIRS =/s/examples //' ${WRKSRC}/Makefile.in -.endif - -.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) +.if defined(MAINTAINER_MODE) check regression-test test: build @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \ check diff --git a/audio/libsamplerate/pkg-plist b/audio/libsamplerate/pkg-plist index 7d043ad66fa0..a3433011a381 100644 --- a/audio/libsamplerate/pkg-plist +++ b/audio/libsamplerate/pkg-plist @@ -20,4 +20,3 @@ libdata/pkgconfig/samplerate.pc %%PORTDOCS%%%%DOCSDIR%%/lists.html %%PORTDOCS%%%%DOCSDIR%%/quality.html %%PORTDOCS%%%%DOCSDIR%%/win32.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3