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