openbsd-ports/audio/libmusicbrainz5/Makefile
ajacoutot e1d726bcda Import libmusicbrainz5-5.0.1.
The libmusicbrainz (also known as mb_client or MusicBrainz Client
Library) is a development library geared towards developers who wish to
add MusicBrainz lookup capabilities to their applications.

ok jasper@
2012-09-29 12:11:10 +00:00

39 lines
794 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/09/29 12:11:10 ajacoutot Exp $
COMMENT= library for audio metadata lookup (v5)
V= 5.0.1
DISTNAME= libmusicbrainz-${V}
PKGNAME= libmusicbrainz5-${V}
SHARED_LIBS += musicbrainz5 0.0 # 0.0
CATEGORIES= audio devel
HOMEPAGE= http://musicbrainz.org/doc/libmusicbrainz
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += m neon stdc++
MASTER_SITES= https://github.com/downloads/metabrainz/libmusicbrainz/
MODULES= devel/cmake
NO_REGRESS= Yes
SEPARATE_BUILD= No
LIB_DEPENDS= net/neon
CONFIGURE_ARGS= -DCMAKE_BUILD_TYPE=Release
pre-configure:
perl -pi -e 's,/usr/local,${LOCALBASE},g' \
${WRKSRC}/cmake/modules/FindNeon.cmake
.include <bsd.port.mk>