Date: Wed, 7 Oct 2015 01:36:59 +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: r398736 - head/audio/snack Message-ID: <201510070136.t971axUU018244@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Oct 7 01:36:58 2015 New Revision: 398736 URL: https://svnweb.freebsd.org/changeset/ports/398736 Log: - Switch to options helpers Modified: head/audio/snack/Makefile Modified: head/audio/snack/Makefile ============================================================================== --- head/audio/snack/Makefile Wed Oct 7 01:36:53 2015 (r398735) +++ head/audio/snack/Makefile Wed Oct 7 01:36:58 2015 (r398736) @@ -11,11 +11,6 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Sound toolkit for scripting languages -WRKSRC= ${WRKDIR}/${DISTNAME}/unix - -OPTIONS_DEFINE= VORBIS DOCS -OPTIONS_SUB= yes - USES= tk USE_LDCONFIG= ${PREFIX}/lib/snack${PORTVERSION:R} GNU_CONFIGURE= yes @@ -23,17 +18,18 @@ CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR} MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX} +WRKSRC= ${WRKDIR}/${DISTNAME}/unix + PLIST_SUB= SNACK_VER=${PORTVERSION:R} PORTDOCS= * -.include <bsd.port.options.mk> +OPTIONS_DEFINE= VORBIS DOCS +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MVORBIS} -LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis -CONFIGURE_ARGS+=--with-ogg-include=${LOCALBASE}/include \ - --with-ogg-lib=${LOCALBASE}/lib -ALL_TARGET= all libsnackogg.so -.endif +VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis +VORBIS_CONFIGURE_ON= --with-ogg-include=${LOCALBASE}/include \ + --with-ogg-lib=${LOCALBASE}/lib +VORBIS_ALL_TARGET= all libsnackogg.so post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/snack${PORTVERSION:R}/*.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510070136.t971axUU018244>