aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-03-02 05:32:02 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-03-02 05:32:02 +0000
commit39fc922b37a143210a6e6d00f2495c3860fce254 (patch)
tree9bd212e002d5b42cb416a9f6dc86cc2ceb901ac0 /graphics
parent39bd1e45ecce60f64f66714013c749bf316ba577 (diff)
downloadports-39fc922b37a143210a6e6d00f2495c3860fce254.tar.gz
ports-39fc922b37a143210a6e6d00f2495c3860fce254.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/swftools/Makefile17
-rw-r--r--graphics/swftools/distinfo4
-rw-r--r--graphics/swftools/pkg-descr1
-rw-r--r--graphics/swftools/pkg-plist1
4 files changed, 16 insertions, 7 deletions
diff --git a/graphics/swftools/Makefile b/graphics/swftools/Makefile
index 894b14ff4c96..874dd0dfe836 100644
--- a/graphics/swftools/Makefile
+++ b/graphics/swftools/Makefile
@@ -7,16 +7,16 @@
#
PORTNAME= swftools
-PORTVERSION= 0.6.2
+PORTVERSION= 0.6.3
CATEGORIES= graphics
MASTER_SITES= http://www.quiss.org/swftools/
MAINTAINER= ports@FreeBSD.org
COMMENT= SWF manipulation and generation utilities
-LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
- t1.5:${PORTSDIR}/devel/t1lib \
+LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib \
jpeg.9:${PORTSDIR}/graphics/jpeg \
+ ungif.5:${PORTSDIR}/graphics/libungif \
freetype.9:${PORTSDIR}/print/freetype2 \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
@@ -27,14 +27,21 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-MAN1= font2swf.1 jpeg2swf.1 pdf2swf.1 png2swf.1 swfbbox.1 swfc.1 \
- swfcombine.1 swfdump.1 swfextract.1 swfstrings.1 wav2swf.1
+MAN1= font2swf.1 gif2swf.1 jpeg2swf.1 pdf2swf.1 png2swf.1 \
+ swfbbox.1 swfc.1 swfcombine.1 swfdump.1 swfextract.1 \
+ swfstrings.1 wav2swf.1
CPPFLAGS= `pkg-config --cflags-only-I fontconfig freetype2` \
-I${LOCALBASE}/include
LDFLAGS= `pkg-config --libs-only-L fontconfig freetype2` \
-L${LOCALBASE}/lib
+.if defined(WITH_LAME) || exists(${LOCALBASE}/lib/libmp3lame.a)
+LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
+.else
+CONFIGURE_ARGS+= --disable-lame
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's| -O | |g ; \
s|/usr/local/include|${LOCALBASE}/include|g ; \
diff --git a/graphics/swftools/distinfo b/graphics/swftools/distinfo
index 78cbc3a1d0ca..d88ebfd2360c 100644
--- a/graphics/swftools/distinfo
+++ b/graphics/swftools/distinfo
@@ -1,2 +1,2 @@
-MD5 (swftools-0.6.2.tar.gz) = 40286d8fac4c3b03e3a009d27d41f1ae
-SIZE (swftools-0.6.2.tar.gz) = 1482362
+MD5 (swftools-0.6.3.tar.gz) = bd85036a98145935271cc42d8cc7d218
+SIZE (swftools-0.6.3.tar.gz) = 1496603
diff --git a/graphics/swftools/pkg-descr b/graphics/swftools/pkg-descr
index c36d29956b01..940bf20ed5a3 100644
--- a/graphics/swftools/pkg-descr
+++ b/graphics/swftools/pkg-descr
@@ -7,6 +7,7 @@ At the moment, this includes:
- SWFDump : Prints out various informations about SWFs.
- JPEG2SWF : Takes one or more JPEG pictures and generates a SWF slideshow.
- PNG2SWF : Like JPEG2SWF, only for PNGs.
+ - GIF2SWF : Converts GIFs to SWF. Also able to handle animated gifs.
- WAV2SWF : Converts WAV audio files to SWFs with MP3 Streams, using the
L.A.M.E. MP3 encoder.
- Font2SWF : Converts font files (TTF, Type1) to SWF.
diff --git a/graphics/swftools/pkg-plist b/graphics/swftools/pkg-plist
index dfe91941a795..fe0574cb9c05 100644
--- a/graphics/swftools/pkg-plist
+++ b/graphics/swftools/pkg-plist
@@ -1,4 +1,5 @@
bin/font2swf
+bin/gif2swf
bin/jpeg2swf
bin/pdf2swf
bin/png2swf