ab6362699e
block). Uncomment some commented out LICENSE lines while here.
38 lines
973 B
Makefile
38 lines
973 B
Makefile
# $NetBSD: Makefile,v 1.2 2009/05/19 09:00:09 thomasklausner Exp $
|
|
#
|
|
|
|
DISTNAME= mpg123-0.65
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.mpg123.de/download/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= blair.sadewitz@gmail.com
|
|
HOMEPAGE= http://www.mpg123.de/
|
|
COMMENT= Command line player for MPEG layer 1, 2, and 3 audio
|
|
LICENSE= mpg123-license
|
|
|
|
PKG_DESTDIR_SUPPORT=user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-optimization=4
|
|
CONFIGURE_ARGS+= --with-audio=sun
|
|
CONFIGURE_ARGS+= --with-audio=oss
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CONFIGURE_ARGS+= --with-cpu=i386_fpu
|
|
#CONFIGURE_ARGS+= --with-cpu=i586_dither # If you use i386, play with
|
|
#CONFIGURE_ARGS+= --with-cpu=mmx # these.
|
|
.else
|
|
CONFIGURE_ARGS+= --with-cpu=generic_fpu
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= LIBS="-lossaudio"
|
|
|
|
CONFIGURE_ENV+= CFLAGS=${MPG_CFLAGS:M*:Q}
|
|
|
|
CPPFLAGS+= -DDEVOSSAUDIO=\"${DEVOSSAUDIO:Q}\"
|
|
CPPFLAGS+= -DDEVOSSSOUND=\"${DEVOSSSOUND:Q}\"
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|