# Created by: Stephen Hurd <shurd@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_2_0/comms/libconcord/Makefile 388660 2015-06-06 09:33:25Z shurd $

PORTNAME=	libconcord
PORTVERSION=	1.2
CATEGORIES=	comms
MASTER_SITES=	SF/concordance/concordance/${PORTVERSION}
DISTNAME=	concordance-${PORTVERSION}

MAINTAINER=	shurd@FreeBSD.org
COMMENT=	Logitech Harmony configuration library

LICENSE=	GPLv2

BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconf
LIB_DEPENDS=	libhidapi.so:${PORTSDIR}/comms/hidapi \
		libzip.so:${PORTSDIR}/archivers/libzip

USE_LDCONFIG=	yes
USES=		tar:bzip2 libtool shared-mime-info
WRKSRC_SUBDIR=	libconcord
GNU_CONFIGURE=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.mk>
