diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mpg123/Makefile | 6 | ||||
-rw-r--r-- | audio/mpg123/PLIST | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile index 5c9540aaa50..e38111cbcb8 100644 --- a/audio/mpg123/Makefile +++ b/audio/mpg123/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2010/03/14 14:19:19 martin Exp $ +# $NetBSD: Makefile,v 1.45 2010/03/14 15:46:05 schmonz Exp $ PKGNAME= ${DISTNAME:C/[^[:alnum:]]*//} COMMENT= MPEG layer 1, 2, and 3 audio player @@ -17,11 +17,15 @@ MPG123_BUILDING_BASE= # empty PLIST_VARS+= oss PLIST_VARS+= sun +PLIST_VARS+= coreaudio .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" \ || ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly" MPG123_DEFAULT_MODULE= sun PLIST.sun = yes +.elif ${OPSYS} == "Darwin" +MPG123_DEFAULT_MODULE= coreaudio +PLIST.coreaudio = yes .else MPG123_DEFAULT_MODULE= oss PLIST.oss = yes diff --git a/audio/mpg123/PLIST b/audio/mpg123/PLIST index bad9fe10494..5987e8875fa 100644 --- a/audio/mpg123/PLIST +++ b/audio/mpg123/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.2 2010/03/14 14:19:19 martin Exp $ +@comment $NetBSD: PLIST,v 1.3 2010/03/14 15:46:05 schmonz Exp $ bin/mpg123 include/mpg123.h lib/libmpg123.la lib/pkgconfig/libmpg123.pc man/man1/mpg123.1 +${PLIST.coreaudio}lib/mpg123/output_coreaudio.la ${PLIST.sun}lib/mpg123/output_sun.la ${PLIST.oss}lib/mpg123/output_oss.la |