2006-04-23 12:08:08 +02:00
|
|
|
# New ports collection makefile for: freealut
|
|
|
|
# Date created: 08 March 2006
|
|
|
|
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= freealut
|
2006-06-08 18:07:12 +02:00
|
|
|
PORTVERSION= 1.1.0
|
2006-08-07 17:07:19 +02:00
|
|
|
PORTREVISION= 1
|
2006-04-23 12:08:08 +02:00
|
|
|
CATEGORIES= audio
|
2008-08-27 20:00:10 +02:00
|
|
|
MASTER_SITES= http://connect.creativelabs.com/openal/Downloads/ALUT/
|
2006-04-23 12:08:08 +02:00
|
|
|
|
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
|
|
COMMENT= The OpenAL Utility Toolkit
|
|
|
|
|
|
|
|
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
|
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2006-04-23 12:08:08 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-08-07 17:07:19 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2006-04-23 12:08:08 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= pkgconfig gnomehack
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-04-23 12:08:08 +02:00
|
|
|
|
|
|
|
.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>
|