1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/audio/libmusicbrainz5/Makefile
Max Brazhnikov dd6f20aa01 - Update to 5.0.1 after repocopy from audio/libmusicbrainz4
- 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/169572
Submitted by:	Jason E. Hale (maintainer)
Approved by:	maintainer via irc [1]
2012-07-27 13:29:39 +00:00

34 lines
739 B
Makefile

# New ports collection makefile for: libmusicbrainz5
# Date Created: 2012-07-01
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libmusicbrainz
PORTVERSION= 5.0.1
CATEGORIES= audio
MASTER_SITES= https://cloud.github.com/downloads/metabrainz/${PORTNAME}/
MAINTAINER= bsdkaffee@gmail.com
COMMENT= MusicBrainz client library for audio metadata lookup
LICENSE= LGPL21
LIB_DEPENDS= neon:${PORTSDIR}/www/neon29
LATEST_LINK= ${PORTNAME}5
USE_CMAKE= yes
USE_LDCONFIG= yes
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 <bsd.port.mk>