summaryrefslogtreecommitdiffstats
path: root/audio/libofa/Makefile
blob: 2d217405e01b6da634d78e09771a3577651d41e5 (plain)
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
# 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
CATEGORIES=	audio
MASTER_SITES=	http://www.musicdns.org/themes/musicdns_org/downloads/

MAINTAINER=	alex@foxybanana.com
COMMENT=	The Open Fingerprint Architecture Library

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

USE_GNOME=	pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB=	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>
OpenPOWER on IntegriCloud