summaryrefslogtreecommitdiff
path: root/audio/SDL_mixer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/SDL_mixer/Makefile')
-rw-r--r--audio/SDL_mixer/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/audio/SDL_mixer/Makefile b/audio/SDL_mixer/Makefile
index ba3c37de526..a90dcf5a56e 100644
--- a/audio/SDL_mixer/Makefile
+++ b/audio/SDL_mixer/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2003/05/02 11:53:36 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2003/05/11 02:23:18 salo Exp $
#
-DISTNAME= SDL_mixer-1.2.4
-PKGREVISION= 2
+DISTNAME= SDL_mixer-1.2.5
CATEGORIES= audio
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
@@ -12,19 +11,19 @@ COMMENT= multi-channel audio mixer library
CONFLICTS= SDL-mixer-[0-9]*
+USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
USE_X11= YES
USE_LIBTOOL= YES
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-USE_BUILDLINK2= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-CPPFLAGS+= -Dunix=1
+CPPFLAGS= -Dunix=1
+CFLAGS= -DPREFIX=\"\\\"${PREFIX}\\\"\"
-post-configure:
- ${SED} -e "s|@PREFIX@|${PREFIX}|" ${WRKSRC}/timidity/config.h \
- > ${WRKSRC}/timidity/config.h.patched
- ${MV} ${WRKSRC}/timidity/config.h.patched ${WRKSRC}/timidity/config.h
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/.libs/playmus ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/.libs/playwave ${PREFIX}/bin
.include "../../audio/libogg/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"