xref: /mports/audio/mpg123/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	mpg123
2PORTVERSION=	1.26.3
3CATEGORIES=	audio
4MASTER_SITES=	SF \
5		https://www.mpg123.de/download/
6
7MAINTAINER=	ports@MidnightBSD.org
8COMMENT=	Command-line player for MPEG Layer 1, 2, and 3 audio files
9
10LICENSE=	lgpl2.1
11
12USES=		tar:bzip2 libtool localbase pathfix cpe
13CPE_VENDOR=	mpg123
14USE_LDCONFIG=	yes
15
16GNU_CONFIGURE=	yes
17CONFIGURE_ARGS=	--with-optimization=0
18INSTALL_TARGET=	install-strip
19
20OPTIONS_DEFINE=		SNDIO
21OPTIONS_DEFINE_i386=	OPTCPU
22OPTIONS_DEFINE_armv6=	FPU
23OPTIONS_DEFINE_armv7=	FPU
24OPTIONS_DEFAULT_i386=	OPTCPU
25OPTIONS_SUB=	yes
26
27FPU_DESC=	Use fixed point arithmetic and/or NEON instructions
28OPTCPU_DESC=	Enable support for optimized CPU instructions
29
30FPU_CONFIGURE_ON=	--with-cpu=arm_fpu
31FPU_CONFIGURE_OFF=	--with-cpu=arm_nofpu
32
33SNDIO_CONFIGURE_ON=	--with-audio=sndio,oss \
34			--with-default-audio=sndio
35SNDIO_CONFIGURE_OFF=	--with-audio=oss \
36			--with-default-audio=oss
37SNDIO_LIB_DEPENDS=	libsndio.so:audio/sndio
38
39OPTCPU_CONFIGURE_ON=	--with-cpu=x86
40OPTCPU_CONFIGURE_OFF=	--with-cpu=generic_fpu
41
42NO_TEST=	yes
43
44.include <bsd.port.pre.mk>
45
46.if ${ARCH} == "amd64"
47CONFIGURE_ARGS+=	--with-cpu=x86-64
48.endif
49
50.include <bsd.port.post.mk>
51

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026