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

(-)graphics/swftools/Makefile (-9 / +17 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	swftools
9
PORTNAME=	swftools
10
PORTVERSION=	0.8.1
10
PORTVERSION=	0.9.0
11
PORTREVISION=	1
12
CATEGORIES=	graphics
11
CATEGORIES=	graphics
13
MASTER_SITES=	http://www.swftools.org/
12
MASTER_SITES=	http://www.swftools.org/
14
13
Lines 18-38 Link Here
18
LIB_DEPENDS=	t1.5:${PORTSDIR}/devel/t1lib \
17
LIB_DEPENDS=	t1.5:${PORTSDIR}/devel/t1lib \
19
		jpeg.9:${PORTSDIR}/graphics/jpeg \
18
		jpeg.9:${PORTSDIR}/graphics/jpeg \
20
		ungif.5:${PORTSDIR}/graphics/libungif \
19
		ungif.5:${PORTSDIR}/graphics/libungif \
21
		freetype.9:${PORTSDIR}/print/freetype2
20
		freetype.9:${PORTSDIR}/print/freetype2 \
21
		fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
22
22
23
USE_GNOME=	gnometarget pkgconfig
23
OPTIONS=	LAME "LAME MP3 audio encoder support" off
24
25
USE_GNOME=	pkgconfig
26
USE_GL=		glut
24
USE_GMAKE=	yes
27
USE_GMAKE=	yes
25
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
26
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
29
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
27
30
28
MAN1=		font2swf.1 gif2swf.1 jpeg2swf.1 pdf2swf.1 png2swf.1 \
31
MAN1=		as3compile.1 font2swf.1 gif2swf.1 jpeg2swf.1 pdf2swf.1 \
29
		swfbbox.1 swfc.1 swfcombine.1 swfdump.1 swfextract.1 \
32
		png2swf.1 swfbbox.1 swfc.1 swfcombine.1 swfdump.1 \
30
		swfstrings.1 wav2swf.1
33
		swfextract.1 swfrender.1 swfstrings.1 wav2swf.1
31
34
32
CPPFLAGS=	-I${LOCALBASE}/include
35
CPPFLAGS=	-I${LOCALBASE}/include
33
LDFLAGS=	-L${LOCALBASE}/lib
36
LDFLAGS=	-L${LOCALBASE}/lib
34
37
35
.if defined(WITH_LAME) || exists(${LOCALBASE}/lib/libmp3lame.a)
38
.include <bsd.port.pre.mk>
39
40
.if defined(WITH_LAME)
36
LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
41
LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
37
.else
42
.else
38
CONFIGURE_ARGS+=	--disable-lame
43
CONFIGURE_ARGS+=	--disable-lame
Lines 40-46 Link Here
40
45
41
post-patch:
46
post-patch:
42
	@${REINPLACE_CMD} -e 's| -O | |g ; \
47
	@${REINPLACE_CMD} -e 's| -O | |g ; \
48
		 s|/usr/include/fontconfig|${LOCALBASE}/include/fontconfig|g ; \
43
		 s|/usr/local/include|${LOCALBASE}/include|g ; \
49
		 s|/usr/local/include|${LOCALBASE}/include|g ; \
44
		 s|/usr/local/lib|${LOCALBASE}/lib|g' ${WRKSRC}/configure
50
		 s|/usr/local/lib|${LOCALBASE}/lib|g' ${WRKSRC}/configure
51
	@${REINPLACE_CMD} -e '/python/d ; \
52
		 /avi2swf/d' ${WRKSRC}/Makefile.in
45
53
46
.include <bsd.port.mk>
54
.include <bsd.port.post.mk>
(-)graphics/swftools/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (swftools-0.8.1.tar.gz) = 932f4e5fce551ed70c0390fdc0eb1af6
1
MD5 (swftools-0.9.0.tar.gz) = 518e94894a6b1be584ba79b6ab1b2a1a
2
SHA256 (swftools-0.8.1.tar.gz) = 54b067fe8f644be7bc6d2b037d10679166d7c2cee1c2876d7a4434bee260e550
2
SHA256 (swftools-0.9.0.tar.gz) = f875df4546f0ed1753ad9bb6e0c71e1390189e93a0e17ad6156d178cf1a212ea
3
SIZE (swftools-0.8.1.tar.gz) = 1743477
3
SIZE (swftools-0.9.0.tar.gz) = 2654046
(-)graphics/swftools/files/patch-Makefile.in (-17 lines)
Lines 1-17 Link Here
1
--- Makefile.in.orig	Mon Jan 22 06:12:53 2007
2
+++ Makefile.in	Mon Jan 22 12:51:20 2007
3
@@ -8,14 +8,10 @@
4
 	cd m4;$(MAKE) $@
5
 	@echo making $@ in lib...
6
 	cd lib;$(MAKE) $@
7
-	@echo making $@ in lib/python...
8
-	cd lib/python;$(MAKE) $@
9
 	@echo making $@ in src...
10
 	cd src;$(MAKE) $@
11
 	@echo making $@ in pdf2swf...
12
 	cd pdf2swf/fonts;$(MAKE) $@
13
-	@echo making $@ in avi2swf...
14
-	cd avi2swf;$(MAKE) $@
15
 	@echo making $@ in swfs...
16
 	cd swfs;$(MAKE) $@
17
 	@$(MAKE) $@-local
(-)graphics/swftools/pkg-descr (+2 lines)
Lines 15-19 Link Here
15
   - SWFC : A tool for creating SWF files from simple script files.
15
   - SWFC : A tool for creating SWF files from simple script files.
16
   - SWFExtract : Allows to extract Movieclips, Sounds, Images etc. from SWF
16
   - SWFExtract : Allows to extract Movieclips, Sounds, Images etc. from SWF
17
     files.
17
     files.
18
   - AS3Compile : A standalone ActionScript 3.0 compiler. Mostly compatible
19
     with Flex. 
18
20
19
WWW: http://www.swftools.org/
21
WWW: http://www.swftools.org/
(-)graphics/swftools/pkg-plist (-29 / +2 lines)
Lines 1-3 Link Here
1
bin/as3compile
1
bin/font2swf
2
bin/font2swf
2
bin/gif2swf
3
bin/gif2swf
3
bin/jpeg2swf
4
bin/jpeg2swf
Lines 8-43 Link Here
8
bin/swfcombine
9
bin/swfcombine
9
bin/swfdump
10
bin/swfdump
10
bin/swfextract
11
bin/swfextract
12
bin/swfrender
11
bin/swfstrings
13
bin/swfstrings
12
bin/wav2swf
14
bin/wav2swf
13
%%DATADIR%%/fonts/d050000l.afm
14
%%DATADIR%%/fonts/d050000l.pfb
15
%%DATADIR%%/fonts/n019003l.afm
16
%%DATADIR%%/fonts/n019003l.pfb
17
%%DATADIR%%/fonts/n019004l.afm
18
%%DATADIR%%/fonts/n019004l.pfb
19
%%DATADIR%%/fonts/n019023l.afm
20
%%DATADIR%%/fonts/n019023l.pfb
21
%%DATADIR%%/fonts/n019024l.afm
22
%%DATADIR%%/fonts/n019024l.pfb
23
%%DATADIR%%/fonts/n021003l.afm
24
%%DATADIR%%/fonts/n021003l.pfb
25
%%DATADIR%%/fonts/n021004l.afm
26
%%DATADIR%%/fonts/n021004l.pfb
27
%%DATADIR%%/fonts/n021023l.afm
28
%%DATADIR%%/fonts/n021023l.pfb
29
%%DATADIR%%/fonts/n021024l.afm
30
%%DATADIR%%/fonts/n021024l.pfb
31
%%DATADIR%%/fonts/n022003l.afm
32
%%DATADIR%%/fonts/n022003l.pfb
33
%%DATADIR%%/fonts/n022004l.afm
34
%%DATADIR%%/fonts/n022004l.pfb
35
%%DATADIR%%/fonts/n022023l.afm
36
%%DATADIR%%/fonts/n022023l.pfb
37
%%DATADIR%%/fonts/n022024l.afm
38
%%DATADIR%%/fonts/n022024l.pfb
39
%%DATADIR%%/fonts/s050000l.afm
40
%%DATADIR%%/fonts/s050000l.pfb
41
%%DATADIR%%/swfs/PreLoaderTemplate.swf
15
%%DATADIR%%/swfs/PreLoaderTemplate.swf
42
%%DATADIR%%/swfs/default_loader.swf
16
%%DATADIR%%/swfs/default_loader.swf
43
%%DATADIR%%/swfs/default_viewer.swf
17
%%DATADIR%%/swfs/default_viewer.swf
Lines 46-50 Link Here
46
%%DATADIR%%/swfs/swft_loader.swf
20
%%DATADIR%%/swfs/swft_loader.swf
47
%%DATADIR%%/swfs/tessel_loader.swf
21
%%DATADIR%%/swfs/tessel_loader.swf
48
@dirrm %%DATADIR%%/swfs
22
@dirrm %%DATADIR%%/swfs
49
@dirrm %%DATADIR%%/fonts
50
@dirrm %%DATADIR%%
23
@dirrm %%DATADIR%%

Return to bug 134288