aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sdl12
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 13:19:38 +0800
committerreg <reg@FreeBSD.org>2000-10-05 13:19:38 +0800
commitbeba42d8732df07a6d0dcd3ff5ab1cd916bd8b6d (patch)
tree1e786433e645b4de5a179c0f51f422bc7b2c9d97 /devel/sdl12
parent64f41b5a83d18d5fbac5a1c3ea69760b9a826dd7 (diff)
downloadfreebsd-ports-gnome-beba42d8732df07a6d0dcd3ff5ab1cd916bd8b6d.tar.gz
freebsd-ports-gnome-beba42d8732df07a6d0dcd3ff5ab1cd916bd8b6d.tar.zst
freebsd-ports-gnome-beba42d8732df07a6d0dcd3ff5ab1cd916bd8b6d.zip
Implement WANT_ESOUND, USE_ESOUND.
Diffstat (limited to 'devel/sdl12')
-rw-r--r--devel/sdl12/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 4cee53d3ed48..601de2b254c3 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -14,28 +14,26 @@ DISTNAME= SDL-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= esd.2:${PORTSDIR}/audio/esound \
- aa.1:${PORTSDIR}/graphics/aalib \
+LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
vga.1:${PORTSDIR}/graphics/svgalib
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
USE_GMAKE= yes
USE_XLIB= yes
+USE_ESOUND= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-
-CONFIGURE_ENV= NASM="${LOCALBASE}/bin/nasm" \
- LOCALBASE="${LOCALBASE}"
+CONFIGURE_ENV= NASM="${LOCALBASE}/bin/nasm"
CONFIGURE_ARGS= --enable-video-aalib \
--enable-video-svga
CFLAGS+= -D_THREAD_SAFE
.if defined(WITHOUT_GL)
-CONFIGURE_ARGS+= --disable-video-opengl
+CONFIGURE_ARGS+=--disable-video-opengl
.else
USE_MESA= yes
-CONFIGURE_ARGS+= --enable-video-opengl
+CONFIGURE_ARGS+=--enable-video-opengl
.endif
.include <bsd.port.pre.mk>
@@ -51,11 +49,11 @@ post-configure:
post-install:
@${MKDIR} ${PREFIX}/share/examples/SDL11
- @${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/examples/SDL11
+ ${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/examples/SDL11
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/SDL11/docs
.for file in BUGS COPYING CREDITS README WhatsNew docs.html
- @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SDL11
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SDL11
.endfor
@cd ${WRKSRC}/docs; tar cf - `${ECHO} [^Mm]*` | \
(cd ${PREFIX}/share/doc/SDL11/docs; ${TAR} --unlink -xf - )