mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
34 lines
744 B
Makefile
34 lines
744 B
Makefile
# New ports collection makefile for: freealut
|
|
# Date created: 08 March 2006
|
|
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freealut
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://connect.creativelabs.com/openal/Downloads/ALUT/
|
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
COMMENT= The OpenAL Utility Toolkit
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
USE_GMAKE= yes
|
|
USE_GNOME= pkgconfig gnomehack
|
|
USE_OPENAL= al
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal ${PTHREAD_LIBS}/g' \
|
|
${WRKSRC}/examples/Makefile.in \
|
|
${WRKSRC}/test_suite/Makefile.in
|
|
|
|
.include <bsd.port.post.mk>
|