blob: aa7c87333d5e2458ec8714f5cda114b29ccba64a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.30 2012/01/11 19:20:12 hans Exp $
DISTNAME= mp3blaster-3.2.5
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3blaster/}
MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://mp3blaster.sourceforge.net/
COMMENT= MP3 console curses-based player
PKGREVISION= 1
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= splay-[0-9]*
PTHREAD_OPTS+= require
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CPPFLAGS.SunOS+= -Du_int16_t=uint16_t -Du_int32_t=uint32_t
LIBS.SunOS+= -lsocket -lnsl
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
CONFIGURE_ARGS+= --enable-newthreads
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.mp3blaster
PKG_SUPPORTED_OPTIONS= esound oss sdl
PKG_SUGGESTED_OPTIONS= oss
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mesound)
CONFIGURE_ARGS+= --with-esd=yes
.include "../../audio/esound/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Moss)
CONFIGURE_ARGS+= --with-oss=yes
.include "../../mk/oss.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+= --with-sdl=yes
.include "../../devel/SDL/buildlink3.mk"
.endif
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|