freebsd-ports/audio/libmusicbrainz5/Makefile
Jason E. Hale f84239c0e0 audio/libmusicbrainz5: Update to snapshot from 2015-07-06 (e29cc9a)
- The main purpose of this intermediate update is to eliminate unwanted debug
  information emitted when running console applications.
- Backport commit 36262d6 to eliminate wildcards for dependencies in
  CMakeLists.txt which CMake complains about (CMP0058). As a result, we can
  switch to an outsource build.

While here:
- Update LICENSE (LGPL21+) and add LICENSE_FILE
- Remake/rename patches with 'make makepatch'

Changes:	https://github.com/metabrainz/libmusicbrainz/compare/release-5.1.0...e29cc9a
PR:		250567
Submitted by:	Daniel Engberg <daniel.engberg.lists@pyret.net>
2020-10-30 10:32:26 +00:00

32 lines
738 B
Makefile

# $FreeBSD$
PORTNAME= libmusicbrainz
DISTVERSIONPREFIX= release-
DISTVERSION= 5.1.0-19
DISTVERSIONSUFFIX= -ge29cc9a
CATEGORIES= audio
PKGNAMESUFFIX= 5
MAINTAINER= jhale@FreeBSD.org
COMMENT= MusicBrainz client library for audio metadata lookup
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
LIB_DEPENDS= libneon.so:www/neon
USES= cmake compiler:c++11-lang gnome iconv:build pathfix
USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= metabrainz
post-patch:
${REINPLACE_CMD} -e 's|%%ICONV_PREFIX%%|${ICONV_PREFIX}|g' \
${WRKSRC}/src/CMakeLists.txt
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/cmake/modules/*.cmake
${RM} ${WRKSRC}/cmake/modules/FindLibXml2.cmake
.include <bsd.port.mk>