2013-02-15 14:46:22 +01:00
|
|
|
# Created by: Carey Jones <mcj@acquiesce.org>
|
1999-08-25 06:36:31 +02:00
|
|
|
# $FreeBSD$
|
1997-07-10 11:41:25 +02:00
|
|
|
|
2000-04-08 23:25:03 +02:00
|
|
|
PORTNAME= mpg123
|
2020-06-10 18:48:45 +02:00
|
|
|
PORTVERSION= 1.26.1
|
2019-10-09 12:20:58 +02:00
|
|
|
CATEGORIES= audio
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF \
|
2020-06-10 18:48:45 +02:00
|
|
|
https://www.mpg123.de/download/
|
2000-01-26 08:37:49 +01:00
|
|
|
|
2005-03-08 08:38:35 +01:00
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2013-02-15 14:46:22 +01:00
|
|
|
COMMENT= Command-line player for MPEG Layer 1, 2, and 3 audio files
|
1997-07-10 11:41:25 +02:00
|
|
|
|
2011-02-23 17:45:25 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2020-03-15 13:52:02 +01:00
|
|
|
USES= tar:bzip2 libtool localbase pathfix
|
2009-01-30 22:12:16 +01:00
|
|
|
USE_LDCONFIG= yes
|
1999-11-11 06:41:25 +01:00
|
|
|
|
2009-01-30 22:12:16 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2019-07-21 10:35:07 +02:00
|
|
|
CONFIGURE_ARGS= --with-optimization=0
|
2020-06-11 04:04:05 +02:00
|
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2016-09-06 18:28:46 +02:00
|
|
|
|
2020-06-10 18:48:45 +02:00
|
|
|
OPTIONS_DEFINE= SNDIO
|
|
|
|
OPTIONS_DEFINE_i386= OPTCPU
|
|
|
|
OPTIONS_DEFINE_armv6= FPU
|
|
|
|
OPTIONS_DEFINE_armv7= FPU
|
|
|
|
OPTIONS_DEFAULT_i386= OPTCPU
|
2016-09-06 18:28:46 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2020-06-10 18:48:45 +02:00
|
|
|
FPU_DESC= Use fixed point arithmetic and/or NEON instructions
|
|
|
|
OPTCPU_DESC= Enable support for optimized CPU instructions
|
|
|
|
|
|
|
|
TEST_TARGET= check
|
|
|
|
|
|
|
|
FPU_CONFIGURE_ON= --with-cpu=arm_fpu
|
|
|
|
FPU_CONFIGURE_OFF= --with-cpu=arm_nofpu
|
|
|
|
|
2016-09-06 18:28:46 +02:00
|
|
|
SNDIO_CONFIGURE_ON= --with-audio=sndio,oss \
|
|
|
|
--with-default-audio=sndio
|
|
|
|
SNDIO_CONFIGURE_OFF= --with-audio=oss \
|
|
|
|
--with-default-audio=oss
|
|
|
|
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
|
2001-02-27 13:39:16 +01:00
|
|
|
|
2020-06-10 18:48:45 +02:00
|
|
|
OPTCPU_CONFIGURE_ON= --with-cpu=x86
|
|
|
|
OPTCPU_CONFIGURE_OFF= --with-cpu=generic_fpu
|
1998-10-03 14:09:54 +02:00
|
|
|
|
2020-06-10 18:48:45 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
1999-08-25 13:25:01 +02:00
|
|
|
|
2020-06-10 18:48:45 +02:00
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
CONFIGURE_ARGS+= --with-cpu=x86-64
|
1999-08-25 13:25:01 +02:00
|
|
|
.endif
|
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
.include <bsd.port.post.mk>
|