aboutsummaryrefslogtreecommitdiffstats
path: root/audio/freealut/Makefile
blob: 5ffc52874160fb42d1bf6e7b87454922d07d33b9 (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
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
# $FreeBSD$

PORTNAME=   freealut
PORTVERSION=    1.1.0
PORTREVISION=   4
CATEGORIES= audio
MASTER_SITES=   DEBIAN_POOL
DISTNAME=   freealut_${PORTVERSION}.orig

MAINTAINER= oliver@FreeBSD.org
COMMENT=    The OpenAL Utility Toolkit

GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
USES=       gmake libtool openal:al pathfix pkgconfig
USE_LDCONFIG=   yes
LLD_UNSAFE= yes
INSTALL_TARGET= install-strip
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

post-patch:
    @${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal -lpthread/g' \
        ${WRKSRC}/examples/Makefile.in \
        ${WRKSRC}/test_suite/Makefile.in

.include <bsd.port.mk>