aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-03-02 13:32:02 +0800
committerahze <ahze@FreeBSD.org>2005-03-02 13:32:02 +0800
commitb1747ef7064e28cecd9eb082a5d1bffaf48d4dca (patch)
tree7475d01bc0174fb904da5c4b551848f768c4b5a4 /graphics
parent087fc54059ff213e215237e88beee2c1ebdeaffb (diff)
downloadfreebsd-ports-gnome-b1747ef7064e28cecd9eb082a5d1bffaf48d4dca.tar.gz
freebsd-ports-gnome-b1747ef7064e28cecd9eb082a5d1bffaf48d4dca.tar.zst
freebsd-ports-gnome-b1747ef7064e28cecd9eb082a5d1bffaf48d4dca.zip
- Update to 0.6.3
- Make lame support optional so this can be packaged PR: 77971 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
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