Lines 6-29
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= openal |
8 |
PORTNAME= openal |
9 |
PORTVERSION= 20050401 |
9 |
PORTVERSION= 20060211 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= audio |
10 |
CATEGORIES= audio |
12 |
MASTER_SITES= http://math.missouristate.edu/~erik/files/fbsd/\ |
11 |
MASTER_SITES= http://openal.org/openal_webstf/downloads/ |
13 |
http://www.smluc.org/~erik/files/fbsd/ |
12 |
DISTVERSION= 0.0.8 |
14 |
|
13 |
|
15 |
MAINTAINER= erik@smluc.org |
14 |
MAINTAINER= erik@smluc.org |
16 |
COMMENT= A 3D positional spatialized sound library |
15 |
COMMENT= A 3D positional spatialized sound library |
17 |
|
16 |
|
18 |
INFO= openal |
|
|
19 |
|
20 |
WRKSRC= ${WRKDIR}/${DISTNAME}/linux |
21 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
18 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
23 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" |
19 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" |
24 |
CONFIGURE_ARGS= --enable-capture |
20 |
CONFIGURE_ARGS= --enable-capture |
25 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
26 |
USE_GNOME= pkgconfig |
22 |
USE_GNOME= pkgconfig gnomehack |
27 |
WANT_SDL= yes |
23 |
WANT_SDL= yes |
28 |
INSTALLS_SHLIB= yes |
24 |
INSTALLS_SHLIB= yes |
29 |
USE_REINPLACE= yes |
25 |
USE_REINPLACE= yes |
Lines 43-69
Link Here
|
43 |
.if defined(WITH_ARTS) |
39 |
.if defined(WITH_ARTS) |
44 |
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts |
40 |
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts |
45 |
CONFIGURE_ARGS+=--enable-arts |
41 |
CONFIGURE_ARGS+=--enable-arts |
|
|
42 |
.else |
43 |
CONFIGURE_ARGS+=--disable-arts |
46 |
.endif |
44 |
.endif |
47 |
|
45 |
|
48 |
.if defined(WITH_ESD) |
46 |
.if defined(WITH_ESD) |
49 |
USE_GNOME+= esound |
47 |
USE_GNOME+= esound |
50 |
CONFIGURE_ARGS+=--enable-esd |
48 |
CONFIGURE_ARGS+=--enable-esd |
|
|
49 |
.else |
50 |
CONFIGURE_ARGS+=--disable-esd |
51 |
.endif |
51 |
.endif |
52 |
|
52 |
|
53 |
.if defined(WITH_SDL) |
53 |
.if defined(WITH_SDL) |
54 |
USE_SDL+= sdl |
54 |
USE_SDL+= sdl |
55 |
CONFIGURE_ENV+= HAVESDL="${SDL_CONFIG}" |
55 |
CONFIGURE_ENV+= HAVESDL="${SDL_CONFIG}" |
56 |
CONFIGURE_ARGS+=--enable-sdl |
56 |
CONFIGURE_ARGS+=--enable-sdl |
|
|
57 |
.else |
58 |
CONFIGURE_ARGS+=--disable-sdl |
57 |
.endif |
59 |
.endif |
58 |
|
60 |
|
59 |
.if defined(WITH_VORBIS) |
61 |
.if defined(WITH_VORBIS) |
60 |
LIB_DEPENDS+= vorbisfile.4:${PORTSDIR}/audio/libvorbis |
62 |
LIB_DEPENDS+= vorbisfile.4:${PORTSDIR}/audio/libvorbis |
61 |
CONFIGURE_ARGS+=--enable-vorbis |
63 |
CONFIGURE_ARGS+=--enable-vorbis |
|
|
64 |
.else |
65 |
CONFIGURE_ARGS+=--disable-vorbis |
62 |
.endif |
66 |
.endif |
63 |
|
67 |
|
64 |
.if defined(WITH_SMPEG) |
68 |
.if defined(WITH_SMPEG) |
65 |
LIB_DEPENDS+= smpeg.1:${PORTSDIR}/multimedia/smpeg |
69 |
LIB_DEPENDS+= smpeg.1:${PORTSDIR}/multimedia/smpeg |
66 |
CONFIGURE_ARGS+=--enable-smpeg |
70 |
CONFIGURE_ARGS+=--enable-smpeg |
|
|
71 |
.else |
72 |
CONFIGURE_ARGS+=--disable-smpeg |
67 |
.endif |
73 |
.endif |
68 |
|
74 |
|
69 |
post-patch: |
75 |
post-patch: |
Lines 72-78
Link Here
|
72 |
@${REINPLACE_CMD} -e '/#include/ s|SDL/||' \ |
78 |
@${REINPLACE_CMD} -e '/#include/ s|SDL/||' \ |
73 |
${WRKSRC}/src/extensions/al_ext_mp3.c |
79 |
${WRKSRC}/src/extensions/al_ext_mp3.c |
74 |
|
80 |
|
75 |
post-install: |
|
|
76 |
${INSTALL_DATA} ${WRKSRC}/doc/openal.info ${PREFIX}/info |
77 |
|
78 |
.include <bsd.port.post.mk> |
81 |
.include <bsd.port.post.mk> |