Date: Wed, 7 Oct 2015 01:37:47 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398740 - head/audio/libsndfile Message-ID: <201510070137.t971blTl018615@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> +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" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510070137.t971blTl018615>