Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2014 09:58:01 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368839 - head/audio/libsamplerate
Message-ID:  <201409220958.s8M9w1RS076844@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Sep 22 09:58:00 2014
New Revision: 368839
URL: http://svnweb.freebsd.org/changeset/ports/368839
QAT: https://qat.redports.org/buildarchive/r368839/

Log:
  Remove useless patching of Makefile.in and let options framework handle what
  should go in the package
  Cleanup plist

Modified:
  head/audio/libsamplerate/Makefile
  head/audio/libsamplerate/pkg-plist

Modified: head/audio/libsamplerate/Makefile
==============================================================================
--- head/audio/libsamplerate/Makefile	Mon Sep 22 09:55:20 2014	(r368838)
+++ head/audio/libsamplerate/Makefile	Mon Sep 22 09:58:00 2014	(r368839)
@@ -43,15 +43,7 @@ BUILD_DEPENDS +=	libsndfile>=0:${PORTSDI
 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

Modified: head/audio/libsamplerate/pkg-plist
==============================================================================
--- head/audio/libsamplerate/pkg-plist	Mon Sep 22 09:55:20 2014	(r368838)
+++ head/audio/libsamplerate/pkg-plist	Mon Sep 22 09:58:00 2014	(r368839)
@@ -20,4 +20,3 @@ libdata/pkgconfig/samplerate.pc
 %%PORTDOCS%%%%DOCSDIR%%/lists.html
 %%PORTDOCS%%%%DOCSDIR%%/quality.html
 %%PORTDOCS%%%%DOCSDIR%%/win32.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409220958.s8M9w1RS076844>