From owner-svn-ports-all@freebsd.org Wed Oct 7 01:37:00 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 422109D064E; Wed, 7 Oct 2015 01:37:00 +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 09A7B6C9; Wed, 7 Oct 2015 01:36:59 +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 t971ax0f018245; Wed, 7 Oct 2015 01:36:59 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t971axUU018244; Wed, 7 Oct 2015 01:36:59 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201510070136.t971axUU018244@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:36:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398736 - head/audio/snack 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:00 -0000 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 +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