1997-07-10 11:41:25 +02:00
|
|
|
# New ports collection makefile for: mpg123
|
|
|
|
# Date created: 25 June 1997
|
|
|
|
# Whom: 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
|
2012-08-15 16:19:53 +02:00
|
|
|
PORTVERSION= 1.14.4
|
2000-01-26 08:37:49 +01:00
|
|
|
CATEGORIES= audio ipv6
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF \
|
2009-01-30 22:12:16 +01:00
|
|
|
http://www.mpg123.de/download/
|
2000-01-26 08:37:49 +01:00
|
|
|
|
2005-03-08 08:38:35 +01:00
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2012-07-25 08:32:06 +02:00
|
|
|
COMMENT= Command-line player for mpeg layer 1, 2, and 3 audio
|
1997-07-10 11:41:25 +02:00
|
|
|
|
2011-02-23 17:45:25 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
|
|
|
USE_GNOME= gnomehack ltverhack
|
2009-01-30 22:12:16 +01:00
|
|
|
USE_BZIP2= yes
|
2011-02-23 17:45:25 +01:00
|
|
|
USE_AUTOTOOLS= libtool libltdl
|
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
|
2011-06-23 10:55:58 +02:00
|
|
|
CONFIGURE_ARGS= --with-optimization=0 \
|
|
|
|
--with-audio=oss \
|
2009-01-30 22:12:16 +01:00
|
|
|
--with-default-audio=oss
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= CONFIG_SHELL=${SH}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2001-02-27 13:39:16 +01:00
|
|
|
|
1997-07-10 11:41:25 +02:00
|
|
|
MAN1= mpg123.1
|
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
1998-10-03 14:09:54 +02:00
|
|
|
|
2004-07-02 10:27:19 +02:00
|
|
|
.if ${ARCH} == "i386"
|
2001-03-10 12:55:50 +01:00
|
|
|
.if ${MACHINE_CPU:M3dnow}
|
2009-01-30 22:12:16 +01:00
|
|
|
WITH_CPU= 3dnow
|
|
|
|
.elif ${MACHINE_CPU:Msse}
|
|
|
|
WITH_CPU= sse
|
2001-03-03 01:23:13 +01:00
|
|
|
.elif ${MACHINE_CPU:Mi586}
|
2009-01-30 22:12:16 +01:00
|
|
|
WITH_CPU= i586
|
2001-03-03 01:23:13 +01:00
|
|
|
.elif ${MACHINE_CPU:Mi486}
|
2009-01-30 22:12:16 +01:00
|
|
|
WITH_CPU= i486
|
2001-03-03 01:23:13 +01:00
|
|
|
.endif
|
2010-10-23 20:14:36 +02:00
|
|
|
.elif ${ARCH} == "amd64"
|
|
|
|
WITH_CPU= x86-64
|
2000-05-05 09:20:23 +02:00
|
|
|
.endif
|
1999-08-25 13:25:01 +02:00
|
|
|
|
2009-01-30 22:12:16 +01:00
|
|
|
.if defined(WITH_CPU)
|
|
|
|
CONFIGURE_ARGS+=--with-cpu=${WITH_CPU}
|
1999-08-25 13:25:01 +02:00
|
|
|
.endif
|
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
.include <bsd.port.post.mk>
|