2011-01-12 16:39:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.55 2011/01/12 21:39:27 naddy Exp $
|
2005-08-04 18:04:23 -04:00
|
|
|
|
2009-10-12 19:45:21 -04:00
|
|
|
COMMENT= fast console MPEG audio player and decoder library
|
1998-04-28 07:29:58 -04:00
|
|
|
|
2011-01-12 16:39:27 -05:00
|
|
|
DISTNAME= mpg123-1.13.1
|
2010-12-25 15:51:06 -05:00
|
|
|
SHARED_LIBS= mpg123 2.3 # .29.0
|
1998-04-28 07:29:58 -04:00
|
|
|
CATEGORIES= audio
|
2001-04-23 20:48:12 -04:00
|
|
|
HOMEPAGE= http://www.mpg123.de/
|
|
|
|
|
2008-11-11 15:35:48 -05:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
|
|
|
# LGPL 2.1
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2001-04-23 20:48:12 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2008-11-11 15:35:48 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2001-04-23 20:48:12 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
1998-10-06 19:18:44 -04:00
|
|
|
|
2008-11-11 15:35:48 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
|
2009-04-28 15:07:26 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2008-11-11 15:35:48 -05:00
|
|
|
|
2010-07-13 12:39:55 -04:00
|
|
|
WANTLIB= c ltdl m sndio
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= devel/libtool,-ltdl
|
2008-11-11 15:35:48 -05:00
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
2009-04-28 15:07:26 -04:00
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
CONFIGURE_STYLE=gnu
|
2008-11-11 15:35:48 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static \
|
2010-07-13 12:39:55 -04:00
|
|
|
--disable-lfs-alias \
|
2008-11-11 15:35:48 -05:00
|
|
|
--with-audio=sndio \
|
2010-12-25 15:51:06 -05:00
|
|
|
--with-module-suffix=.so \
|
2008-11-11 15:35:48 -05:00
|
|
|
--with-optimization=0
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2010-09-26 09:40:11 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2008-11-11 15:35:48 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build
|
|
|
|
|
2009-10-12 19:45:21 -04:00
|
|
|
.if ${MACHINE_ARCH} == "arm"
|
|
|
|
CONFIGURE_ARGS+=--with-cpu=arm_nofpu
|
1998-04-28 07:29:58 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|