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

(-)graphics/swfdec/Makefile (-6 / +12 lines)
Lines 8-13 Link Here
8
8
9
PORTNAME=	swfdec
9
PORTNAME=	swfdec
10
PORTVERSION=	0.2.1
10
PORTVERSION=	0.2.1
11
PORTREVISION=	1
11
CATEGORIES=	graphics
12
CATEGORIES=	graphics
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 15-32 Link Here
15
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Flash Rendering Library
17
COMMENT=	Flash Rendering Library
17
18
19
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
18
LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
20
LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
19
		mad.1:${PORTSDIR}/audio/mad \
21
		mad.1:${PORTSDIR}/audio/mad
20
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
22
RUN_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
23
24
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
21
25
22
USE_X_PREFIX=	yes
26
USE_X_PREFIX=	yes
27
USE_GNOME=	gnomehack gtk20 libartlgpl2
28
USE_GETOPT_LONG=	yes
23
USE_REINPLACE=	yes
29
USE_REINPLACE=	yes
24
USE_GNOME=	gtk20 libartlgpl2
25
SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
26
GNU_CONFIGURE=	yes
30
GNU_CONFIGURE=	yes
27
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
31
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} LDFLAGS="{LDFLAGS}
28
		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
29
INSTALLS_SHLIB=	yes
32
INSTALLS_SHLIB=	yes
33
34
CPPFLAGS=	-I${LOCALBASE}/include
35
LDFLAGS=	-L${LOCALBASE}/lib
30
36
31
post-patch:
37
post-patch:
32
	@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/configure
38
	@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/configure
(-)graphics/swfdec/files/patch-ltmain.sh (-20 / +3 lines)
Lines 1-14 Link Here
1
--- ltmain.sh.orig	Sun Apr  6 15:09:32 2003
1
--- ltmain.sh.orig	Thu Feb  6 05:37:40 2003
2
+++ ltmain.sh	Sun Apr  6 15:09:58 2003
2
+++ ltmain.sh	Tue May 13 06:48:33 2003
3
@@ -1065,14 +1065,14 @@
3
@@ -1072,7 +1072,7 @@
4
 	    # These systems don't actually have a C library (as such)
5
 	    test "X$arg" = "X-lc" && continue
6
 	    ;;
7
-	  *-*-openbsd* | *-*-freebsd*)
8
+	  *-*-openbsd*)
9
 	    # Do not include libc due to us having libc/libc_r.
10
 	    test "X$arg" = "X-lc" && continue
11
 	    ;;
12
 	  esac
4
 	  esac
13
 	 elif test "X$arg" = "X-lc_r"; then
5
 	 elif test "X$arg" = "X-lc_r"; then
14
 	  case $host in
6
 	  case $host in
Lines 17-31 Link Here
17
 	    # Do not include libc_r directly, use -pthread flag.
9
 	    # Do not include libc_r directly, use -pthread flag.
18
 	    continue
10
 	    continue
19
 	    ;;
11
 	    ;;
20
@@ -2495,7 +2495,7 @@
21
 	  *-*-netbsd*)
22
 	    # Don't link with libc until the a.out ld.so is fixed.
23
 	    ;;
24
-	  *-*-openbsd* | *-*-freebsd*)
25
+	  *-*-openbsd*)
26
 	    # Do not include libc due to us having libc/libc_r.
27
 	    ;;
28
 	  *)
29
@@ -4325,10 +4325,12 @@
12
@@ -4325,10 +4325,12 @@
30
 	fi
13
 	fi
31
 
14
 
(-)graphics/swfdec/pkg-plist (-2 / +2 lines)
Lines 1-10 Link Here
1
bin/swf_play
1
bin/swf_play
2
include/swfdec/swf.h
2
include/swfdec/swf.h
3
include/swfdec/swfdec.h
3
include/swfdec/swfdec.h
4
@dirrm include/swfdec
5
lib/gtk-2.0/2.2.0/loaders/swf_loader.a
4
lib/gtk-2.0/2.2.0/loaders/swf_loader.a
6
lib/gtk-2.0/2.2.0/loaders/swf_loader.so
5
lib/gtk-2.0/2.2.0/loaders/swf_loader.so
7
lib/libswfdec.a
6
lib/libswfdec.a
8
lib/libswfdec.so
7
lib/libswfdec.so
9
lib/libswfdec.so.0
8
lib/libswfdec.so.0
10
lib/pkgconfig/swfdec.pc
9
libdata/pkgconfig/swfdec.pc
10
@dirrm include/swfdec

Return to bug 52136