From owner-svn-ports-head@freebsd.org Mon Aug 24 00:08:42 2015 Return-Path: Delivered-To: svn-ports-head@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 222279C1CB4; Mon, 24 Aug 2015 00:08:42 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 11FD7E5; Mon, 24 Aug 2015 00:08:42 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7O08fcv096794; Mon, 24 Aug 2015 00:08:41 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7O08f5G096793; Mon, 24 Aug 2015 00:08:41 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201508240008.t7O08f5G096793@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 24 Aug 2015 00:08:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395155 - head/net-p2p/lopster X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 00:08:42 -0000 Author: amdmi3 Date: Mon Aug 24 00:08:41 2015 New Revision: 395155 URL: https://svnweb.freebsd.org/changeset/ports/395155 Log: - Add LICENSE - Switch to options helpers Modified: head/net-p2p/lopster/Makefile Modified: head/net-p2p/lopster/Makefile ============================================================================== --- head/net-p2p/lopster/Makefile Mon Aug 24 00:04:52 2015 (r395154) +++ head/net-p2p/lopster/Makefile Mon Aug 24 00:08:41 2015 (r395155) @@ -11,6 +11,9 @@ MASTER_SITES= SF \ MAINTAINER= ports@FreeBSD.org COMMENT= GTK+ client for Napster and free alternatives +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + GNU_CONFIGURE= yes USES= gmake USE_GNOME= gtk12 @@ -21,26 +24,11 @@ CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= FLAC OGG ZLIB OPTIONS_DEFAULT= FLAC OGG ZLIB -.include - -# --with-flac is on by default -.if ${PORT_OPTIONS:MFLAC} -LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac -.else -CONFIGURE_ARGS+= --without-flac -.endif - -# --with-ogg is on by default -.if ${PORT_OPTIONS:MOGG} -LIB_DEPENDS+= libogg.so:${PORTSDIR}/audio/libogg -.else -CONFIGURE_ARGS+= --without-ogg -.endif - -# --with-zlib is on by default -.if ! ${PORT_OPTIONS:MZLIB} -CONFIGURE_ARGS+= --without-zlib -.endif +FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac +FLAC_CONFIGURE_WITH= flac +OGG_LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg +OGG_CONFIGURE_WITH= ogg +ZLIB_CONFIGURE_WITH= zlib post-patch: @${REINPLACE_CMD} -e "s/www.naplist.com/www.gotnap.com/" \