summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/mpg321/Makefile11
-rw-r--r--audio/mpg321/files/patch-Makefile.in14
-rw-r--r--audio/mpg321/files/patch-configure3
-rw-r--r--audio/mpg321/pkg-descr10
-rw-r--r--audio/mpg321/pkg-plist1
5 files changed, 32 insertions, 7 deletions
diff --git a/audio/mpg321/Makefile b/audio/mpg321/Makefile
index dd1b5cf..f32b6fb 100644
--- a/audio/mpg321/Makefile
+++ b/audio/mpg321/Makefile
@@ -13,16 +13,15 @@ MASTER_SITES= http://www.linuxberg.com/files/ \
http://gemini.woot.net/~hosehead/packages/
DISTNAME= ${PORTNAME}_${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= naddy@mips.inka.de
-LIB_DEPENDS= ao.1:${PORTSDIR}/audio/libao \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= ao.1:${PORTSDIR}/audio/libao
BUILD_DEPENDS= ${LOCALBASE}/lib/libmad.a:${PORTSDIR}/audio/mad
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lgnugetopt" \
- CFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
-USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= mpg321.1
diff --git a/audio/mpg321/files/patch-Makefile.in b/audio/mpg321/files/patch-Makefile.in
new file mode 100644
index 0000000..0392649
--- /dev/null
+++ b/audio/mpg321/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.in.orig Wed Jul 25 22:48:58 2001
++++ Makefile.in Wed Jul 25 22:49:18 2001
+@@ -339,7 +339,7 @@
+
+ install-exec-am: install-binPROGRAMS
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
+ install-exec: install-exec-am
+
+ install-data-am: install-man
diff --git a/audio/mpg321/files/patch-configure b/audio/mpg321/files/patch-configure
index c467932..ae1937f 100644
--- a/audio/mpg321/files/patch-configure
+++ b/audio/mpg321/files/patch-configure
@@ -1,3 +1,6 @@
+
+$FreeBSD$
+
--- configure.orig Sat Feb 10 20:39:39 2001
+++ configure Sat Feb 10 20:39:50 2001
@@ -1078,7 +1078,7 @@
diff --git a/audio/mpg321/pkg-descr b/audio/mpg321/pkg-descr
index 44ca8b9..298d6080 100644
--- a/audio/mpg321/pkg-descr
+++ b/audio/mpg321/pkg-descr
@@ -1 +1,9 @@
-A completely free clone of mpg123
+mpg321 is a completely free clone of mpg123.
+
+mpg321 has been tested to work with gqmpeg. It should work with
+other frontends, but isn't guaranteed. mpg321 is built on top of
+libmad, which was written by Robert Leslie, and is a fully ISO-compliant
+MPEG decoder, meaning it's very accurate. It also operates entirely
+within fixed-point arithmetic.
+
+ID3 tags are not supported at all, yet.
diff --git a/audio/mpg321/pkg-plist b/audio/mpg321/pkg-plist
index 4a3d390..fde5727 100644
--- a/audio/mpg321/pkg-plist
+++ b/audio/mpg321/pkg-plist
@@ -1 +1,2 @@
+@comment $FreeBSD$
bin/mpg321
OpenPOWER on IntegriCloud