aboutsummaryrefslogtreecommitdiffstats
path: root/audio/openal/Makefile
blob: edfe882d83b8182a021fea08acd2e7dfb7ff63c2 (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:    openal
# Date created:     25 September 2000
# Whom:         Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   openal
PORTVERSION=    20050401
CATEGORIES= audio
MASTER_SITES=   http://math.smsu.edu/~erik/files/fbsd/\
        http://www.smluc.org/~erik/files/fbsd/

MAINTAINER= erik@smluc.org
COMMENT=    A 3D positional spatialized sound library

INFO=       openal

WRKSRC=     ${WRKDIR}/${DISTNAME}/linux
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE=  yes
USE_GNOME=  pkgconfig
INSTALLS_SHLIB= yes
USE_REINPLACE=  yes

post-patch:
    @${REINPLACE_CMD} -e "s/-pthread/${PTHREAD_LIBS}/" ${WRKSRC}/configure

pre-install:
    @${INSTALL_DATA} ${WRKSRC}/doc/openal.info ${PREFIX}/info
    @install-info ${PREFIX}/info/openal.info ${PREFIX}/info/dir

.include <bsd.port.mk>