openbsd-ports/audio/mpg123/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

41 lines
953 B
Makefile

# $OpenBSD: Makefile,v 1.53 2010/11/15 00:22:47 espie Exp $
COMMENT= fast console MPEG audio player and decoder library
DISTNAME= mpg123-1.12.5
SHARED_LIBS= mpg123 2.2 # .25.0
CATEGORIES= audio
HOMEPAGE= http://www.mpg123.de/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# LGPL 2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
EXTRACT_SUFX= .tar.bz2
WANTLIB= c ltdl m sndio
LIB_DEPENDS= devel/libtool,-ltdl
USE_LIBTOOL= Yes
USE_GROFF = Yes
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static \
--disable-lfs-alias \
--with-audio=sndio \
--with-optimization=0
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build
.if ${MACHINE_ARCH} == "arm"
CONFIGURE_ARGS+=--with-cpu=arm_nofpu
.endif
.include <bsd.port.mk>