View | Details | Raw Unified | Return to bug 131827
Collapse All | Expand All

(-)audio/xmms-mad/Makefile (-10 / +12 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	xmms-mad
8
PORTNAME=	xmms-mad
9
PORTVERSION=	0.1.1
9
PORTVERSION=	0.10
10
PORTREVISION=	6
11
CATEGORIES=	audio
10
CATEGORIES=	audio
12
MASTER_SITES=	SF
11
MASTER_SITES=	SF
13
12
Lines 15-33 Link Here
15
COMMENT=	A XMMS input plugin that uses libmad
14
COMMENT=	A XMMS input plugin that uses libmad
16
15
17
LIB_DEPENDS=	mad.2:${PORTSDIR}/audio/libmad \
16
LIB_DEPENDS=	mad.2:${PORTSDIR}/audio/libmad \
18
		id3tag.0:${PORTSDIR}/audio/libid3tag
17
		id3tag.0:${PORTSDIR}/audio/libid3tag \
19
BUILD_DEPENDS=	xmms-config:${PORTSDIR}/multimedia/xmms
18
		xmms.4:${PORTSDIR}/multimedia/xmms
20
RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
21
19
22
PLIST_FILES=	lib/xmms/Input/libxmmsmad.so
20
USE_BZIP2=	yes
23
USE_GNOME=	gtk12
21
USE_GNOME=	gtk12
24
USE_GMAKE=	yes
22
USE_GMAKE=	yes
25
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
26
USE_LDCONFIG=	yes
24
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
25
26
PLIST_FILES=	lib/xmms/Input/libxmmsmad.so
27
27
28
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -L${LOCALBASE}/lib"
28
CPPFLAGS=	-I${LOCALBASE}/include
29
LDFLAGS=	-L${LOCALBASE}/lib
29
30
30
post-patch:
31
do-install:
31
	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
32
	cd ${WRKSRC}/src/.libs \
33
		&& ${INSTALL_DATA} libxmmsmad.so ${PREFIX}/lib/xmms/Input
32
34
33
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)audio/xmms-mad/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (xmms-mad-0.1.1.tar.gz) = c0a55a41f4e68f33d581cc88c2a21762
1
MD5 (xmms-mad-0.10.tar.bz2) = 410b30968bdb4adce0baec8acc7f2ed4
2
SHA256 (xmms-mad-0.1.1.tar.gz) = 70ebba5eaf54d684661aa3d89cd4085d17a5e5ceef0510a97f0df506537d00dc
2
SHA256 (xmms-mad-0.10.tar.bz2) = c0c89d93442c85296386199dc08a8ad9b480a29deea31936e5688c2bcc9a5265
3
SIZE (xmms-mad-0.1.1.tar.gz) = 200293
3
SIZE (xmms-mad-0.10.tar.bz2) = 228844
(-)audio/xmms-mad/files/patch-config::ltmain.sh (-16 lines)
Lines 1-16 Link Here
1
--- config/ltmain.sh.orig	Mon Sep  2 23:58:38 2002
2
+++ config/ltmain.sh	Mon Sep  2 23:59:23 2002
3
@@ -4246,11 +4246,13 @@
4
 	  IFS="$save_ifs"
5
 	fi
6
 
7
+	if /usr/bin/false; then
8
 	# Install the pseudo-library for information purposes.
9
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
10
 	instname="$dir/$name"i
11
 	$show "$install_prog $instname $destdir/$name"
12
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
13
+	fi
14
 
15
 	# Maybe install the static library, too.
16
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)audio/xmms-mad/files/patch-src::input.c (-13 lines)
Lines 1-13 Link Here
1
--- src/input.c.orig	Sat Aug 31 02:39:43 2002
2
+++ src/input.c	Sat Aug 31 02:41:14 2002
3
@@ -20,6 +20,10 @@
4
  */
5
 #include "config.h"
6
 
7
+#ifdef HAVE_SYS_TYPES_H 
8
+#include <sys/types.h>
9
+#endif /* HAVE_SYS_TYPES_H */
10
+
11
 #ifdef HAVE_ASSERT_H
12
 #include <assert.h>
13
 #endif /* HAVE_ASSERT_H */

Return to bug 131827