From owner-svn-ports-all@freebsd.org Wed Oct 7 01:37:48 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79B1D9D0743; Wed, 7 Oct 2015 01:37:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 27AB7B8F; Wed, 7 Oct 2015 01:37:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t971blZK018616; Wed, 7 Oct 2015 01:37:47 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t971blTl018615; Wed, 7 Oct 2015 01:37:47 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201510070137.t971blTl018615@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 7 Oct 2015 01:37:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398740 - head/audio/libsndfile X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 01:37:48 -0000 Author: amdmi3 Date: Wed Oct 7 01:37:46 2015 New Revision: 398740 URL: https://svnweb.freebsd.org/changeset/ports/398740 Log: - Switch to options helpers - Switch to new test framework Approved by: portmgr blanket Modified: head/audio/libsndfile/Makefile Modified: head/audio/libsndfile/Makefile ============================================================================== --- head/audio/libsndfile/Makefile Wed Oct 7 01:37:39 2015 (r398739) +++ head/audio/libsndfile/Makefile Wed Oct 7 01:37:46 2015 (r398740) @@ -21,6 +21,7 @@ CONFIGURE_ARGS= --disable-gcc-pipe \ CPPFLAGS+= -isystem /usr/include -isystem ${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes +TEST_TARGET= check PORTDOCS= AUTHORS ChangeLog NEWS README libsndfile.css \ new_file_type.HOWTO libsndfile.jpg *.html @@ -30,28 +31,16 @@ OPTIONS_DEFAULT= EXTERNAL CPU_CLIP_DESC= Allow machine-dependent clipping EXTERNAL_DESC= Enable FLAC and Ogg Vorbis support -.include +CPU_CLIP_VARS= MANUAL_PACKAGE_BUILD="WITH_CPU_CLIP may customize the package for the build machine" +CPU_CLIP_CONFIGURE_OFF= --disable-cpu-clip -.if ${PORT_OPTIONS:MCPU_CLIP} -MANUAL_PACKAGE_BUILD= WITH_CPU_CLIP may customize the package for the build machine -.else -CONFIGURE_ARGS+= --disable-cpu-clip -.endif - -.if ${PORT_OPTIONS:MEXTERNAL} -LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac \ - libvorbis.so:${PORTSDIR}/audio/libvorbis -.else -CONFIGURE_ARGS+=--disable-external-libs -.endif +EXTERNAL_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \ + libvorbis.so:${PORTSDIR}/audio/libvorbis +EXTERNAL_CONFIGURE_OFF= --disable-external-libs post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/ doc / /g' ${WRKSRC}/Makefile.in -check regression-test test: build - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \ - check - post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${TAR} -C ${WRKSRC}/doc --exclude "*Makefile*" --exclude "*.in" \