From owner-svn-ports-all@FreeBSD.ORG Thu Jan 23 11:15:01 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E683E6D; Thu, 23 Jan 2014 11:15:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5B20E114C; Thu, 23 Jan 2014 11:15:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0NBF1lr097454; Thu, 23 Jan 2014 11:15:01 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0NBF1nf097453; Thu, 23 Jan 2014 11:15:01 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201401231115.s0NBF1nf097453@svn.freebsd.org> From: Pietro Cerutti Date: Thu, 23 Jan 2014 11:15:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340823 - 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.17 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: Thu, 23 Jan 2014 11:15:01 -0000 Author: gahr Date: Thu Jan 23 11:15:00 2014 New Revision: 340823 URL: http://svnweb.freebsd.org/changeset/ports/340823 QAT: https://qat.redports.org/buildarchive/r340823/ Log: - Convert to USES=tk - STAGE-clean Modified: head/audio/snack/Makefile Modified: head/audio/snack/Makefile ============================================================================== --- head/audio/snack/Makefile Thu Jan 23 11:10:46 2014 (r340822) +++ head/audio/snack/Makefile Thu Jan 23 11:15:00 2014 (r340823) @@ -13,42 +13,30 @@ COMMENT= A sound toolkit for scripting l WRKSRC= ${WRKDIR}/${DISTNAME}/unix -USE_TK= 84+ -NO_STAGE= yes - OPTIONS_DEFINE= VORBIS DOCS +OPTIONS_SUB= yes +USES= tk +USE_LDCONFIG= ${PREFIX}/lib/snack${PORTVERSION:R} GNU_CONFIGURE= yes - -.include - -.if ${PORT_OPTIONS:MDOCS} -PORTDOCS= * -.endif - -PLIST_SUB= SNACK_VER=${PORTVERSION:R} - CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \ --with-tk=${TK_LIBDIR} MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX} -CFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \ - -I${LOCALBASE}/include +PLIST_SUB= SNACK_VER=${PORTVERSION:R} +PORTDOCS= * + +.include .if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis -CONFIGURE_ARGS+= --with-ogg-include=${LOCALBASE}/include \ - --with-ogg-lib=${LOCALBASE}/lib +CONFIGURE_ARGS+=--with-ogg-include=${LOCALBASE}/include \ + --with-ogg-lib=${LOCALBASE}/lib ALL_TARGET= all libsnackogg.so -PLIST_SUB+= VORBIS="" -.else -PLIST_SUB+= VORBIS="@comment " .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/../doc/* ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR} .include