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

(-)Makefile (-4 / +5 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	libmpeg2
8
PORTNAME=	libmpeg2
9
PORTVERSION=	0.3.1
9
PORTVERSION=	0.4.0b
10
PORTREVISION=	1
11
CATEGORIES=	multimedia
10
CATEGORIES=	multimedia
12
MASTER_SITES=	http://libmpeg2.sourceforge.net/files/
11
MASTER_SITES=	http://libmpeg2.sourceforge.net/files/
13
DISTNAME=	mpeg2dec-${PORTVERSION}
12
DISTNAME=	mpeg2dec-${PORTVERSION}
13
WRKSRC=		${WRKDIR}/mpeg2dec-0.4.0
14
14
15
MAINTAINER=	lioux@FreeBSD.org
15
MAINTAINER=	lioux@FreeBSD.org
16
COMMENT=	A free library for decoding mpeg-2 and mpeg-1 video streams
16
COMMENT=	A free library for decoding mpeg-2 and mpeg-1 video streams
Lines 79-89 Link Here
79
.endif
79
.endif
80
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
80
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
81
		${WRKSRC}/libmpeg2/Makefile.in
81
		${WRKSRC}/libmpeg2/Makefile.in
82
82
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
83
		${WRKSRC}/libmpeg2/convert/Makefile.in
83
post-install:
84
post-install:
84
.ifndef(NOPORTDOCS)
85
.ifndef(NOPORTDOCS)
85
	@${MKDIR} ${DOCSDIR}
86
	@${MKDIR} ${DOCSDIR}
86
	@${INSTALL_DATA} ${WRKSRC}/doc/libvo.txt ${DOCSDIR}
87
	@${INSTALL_DATA} ${WRKSRC}/doc/libmpeg2.txt ${DOCSDIR}
87
.endif
88
.endif
88
	@${INSTALL_DATA} ${WRKSRC}/libvo/libvo.a ${PREFIX}/lib
89
	@${INSTALL_DATA} ${WRKSRC}/libvo/libvo.a ${PREFIX}/lib
89
	@${INSTALL_DATA} ${WRKSRC}/include/video_out.h \
90
	@${INSTALL_DATA} ${WRKSRC}/include/video_out.h \
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (mpeg2dec-0.3.1.tar.gz) = e9f899d232eee5e7282c9c96ffde8016
1
MD5 (mpeg2dec-0.4.0b.tar.gz) = 52d10ea80595ec83d8557ba7ac6dc8e6
2
SIZE (mpeg2dec-0.3.1.tar.gz) = 325459
2
SIZE (mpeg2dec-0.4.0b.tar.gz) = 473846
(-)pkg-plist (-2 / +8 lines)
Lines 1-15 Link Here
1
bin/corrupt_mpeg2
1
bin/extract_mpeg2
2
bin/extract_mpeg2
2
bin/mpeg2dec
3
bin/mpeg2dec
3
include/mpeg2dec/convert.h
4
include/mpeg2dec/mpeg2convert.h
4
include/mpeg2dec/mpeg2.h
5
include/mpeg2dec/mpeg2.h
5
include/mpeg2dec/video_out.h
6
include/mpeg2dec/video_out.h
6
lib/libmpeg2.a
7
lib/libmpeg2.a
7
lib/libmpeg2.la
8
lib/libmpeg2.la
8
lib/libmpeg2.so
9
lib/libmpeg2.so
9
lib/libmpeg2.so.0
10
lib/libmpeg2.so.0
11
lib/libmpeg2convert.a
12
lib/libmpeg2convert.la
13
lib/libmpeg2convert.so
14
lib/libmpeg2convert.so.0
10
lib/libvo.a
15
lib/libvo.a
11
libdata/pkgconfig/libmpeg2.pc
16
libdata/pkgconfig/libmpeg2.pc
12
%%PORTDOCS%%share/doc/libmpeg2/libvo.txt
17
libdata/pkgconfig/libmpeg2convert.pc
18
%%PORTDOCS%%share/doc/libmpeg2/libmpeg2.txt
13
%%PORTDOCS%%@dirrm share/doc/libmpeg2
19
%%PORTDOCS%%@dirrm share/doc/libmpeg2
14
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
20
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
15
@dirrm include/mpeg2dec
21
@dirrm include/mpeg2dec
(-)files/patch-configure (-10 / +10 lines)
Lines 1-16 Link Here
1
--- configure.orig	Wed Jan  1 17:05:17 2003
1
--- configure.orig	Tue Dec 23 15:07:34 2003
2
+++ configure	Wed Jan  1 17:05:42 2003
2
+++ configure	Thu Feb 26 23:21:36 2004
3
@@ -3281,13 +3281,6 @@
3
@@ -4048,13 +4048,6 @@
4
 #define ARCH_X86
4
 #define ARCH_X86
5
 _ACEOF
5
 _ACEOF
6
 
6
 
7
-	case "$host" in
7
-	case "$host" in
8
-	i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";;
8
-	i386-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i386";;
9
-	i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";;
9
-	i486-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i486";;
10
-	i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";;
10
-	i586-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentium";;
11
-	i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";;
11
-	i686-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentiumpro";;
12
-	k6-*)   OPT_CFLAGS="$CFLAGS -mcpu=k6";;
12
-	k6-*)   TRY_CFLAGS="$OPT_CFLAGS -mcpu=k6";;
13
-	esac
13
-	esac
14
 	echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
14
 	echo "$as_me:$LINENO: checking if $CC supports $TRY_CFLAGS $CFLAGS flags" >&5
15
 echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
15
 echo $ECHO_N "checking if $CC supports $TRY_CFLAGS $CFLAGS flags... $ECHO_C" >&6
16
     SAVE_CFLAGS="$CFLAGS"
16
     SAVE_CFLAGS="$CFLAGS"

Return to bug 63439