summaryrefslogtreecommitdiff
path: root/audio/libofa/Makefile
blob: cc0fb7ff50f6b10afb32dbdcfd1f58e8d21b43c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	libofa
# Date created:		2006-04-01
# Whom:			Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD$
#

PORTNAME=	libofa
PORTVERSION=	0.9.3
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://www.musicdns.org/files/

MAINTAINER=	alexbl@FreeBSD.org
COMMENT=	The Open Fingerprint Architecture Library

LIB_DEPENDS=	fftw3.4:${PORTSDIR}/math/fftw3 \
		expat.6:${PORTSDIR}/textproc/expat2 \
		curl.4:${PORTSDIR}/ftp/curl

USE_AUTOTOOLS=	libtool:15
USE_GNOME=	pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

post-configure:
	@${REINPLACE_CMD} -e "s|pcdir =.*|pcdir = ${PREFIX}/libdata/pkgconfig|g" \
		${WRKSRC}/Makefile

.include <bsd.port.post.mk>