svn commit: r368839 - head/audio/libsamplerate

Baptiste Daroussin bapt at FreeBSD.org
Mon Sep 22 09:58:01 UTC 2014


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%%


More information about the svn-ports-head mailing list