From owner-svn-ports-head@FreeBSD.ORG Fri Jul 27 13:28:59 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28A0C106566C; Fri, 27 Jul 2012 13:28:59 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 132988FC1C; Fri, 27 Jul 2012 13:28:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6RDSwoC010099; Fri, 27 Jul 2012 13:28:58 GMT (envelope-from makc@svn.freebsd.org) Received: (from makc@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6RDSwIq010096; Fri, 27 Jul 2012 13:28:58 GMT (envelope-from makc@svn.freebsd.org) Message-Id: <201207271328.q6RDSwIq010096@svn.freebsd.org> From: Max Brazhnikov Date: Fri, 27 Jul 2012 13:28:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301615 - head/audio/libmusicbrainz4 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 27 Jul 2012 13:28:59 -0000 Author: makc Date: Fri Jul 27 13:28:58 2012 New Revision: 301615 URL: http://svn.freebsd.org/changeset/ports/301615 Log: - Use LATEST_LINK instead of defining the version in PORTNAME - while I'm here, respect LOCALBASE and thus remove needless dependency on pkg-config. pkg-config is often used by cmake as auxiliary tool to populate search paths. Until stuff is located at standard location, there is no need for pkg-config utility. [1] PR: ports/169904 Submitted by: Jason E. Hale (maintainer) Approved by: maintainer via irc [1] Modified: head/audio/libmusicbrainz4/Makefile (contents, props changed) Modified: head/audio/libmusicbrainz4/Makefile ============================================================================== --- head/audio/libmusicbrainz4/Makefile Fri Jul 27 13:28:20 2012 (r301614) +++ head/audio/libmusicbrainz4/Makefile Fri Jul 27 13:28:58 2012 (r301615) @@ -5,11 +5,10 @@ # $FreeBSD$ # -PORTNAME= libmusicbrainz4 +PORTNAME= libmusicbrainz PORTVERSION= 4.0.3 CATEGORIES= audio -MASTER_SITES= https://cloud.github.com/downloads/metabrainz/${PORTNAME:S/4//}/ -DISTNAME= ${PORTNAME:S/4//}-${PORTVERSION} +MASTER_SITES= https://cloud.github.com/downloads/metabrainz/${PORTNAME}/ MAINTAINER= bsdkaffee@gmail.com COMMENT= MusicBrainz client library for audio metadata lookup @@ -18,8 +17,9 @@ LICENSE= LGPL21 LIB_DEPENDS= neon:${PORTSDIR}/www/neon29 +LATEST_LINK= ${PORTNAME}4 + USE_CMAKE= yes -USE_GNOME= pkgconfig USE_LDCONFIG= yes MAKE_JOBS_SAFE= yes @@ -27,5 +27,7 @@ MAKE_JOBS_SAFE= yes post-patch: ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \ ${WRKSRC}/CMakeLists.txt + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/cmake/modules/*.cmake .include