Date: Wed, 14 Jul 2010 03:01:01 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/148559: Update port: graphics/swftools Message-ID: <20100714030101.986a1969.tkato432@yahoo.com> Resent-Message-ID: <201007131810.o6DIAARg084362@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148559 >Category: ports >Synopsis: Update port: graphics/swftools >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 13 18:10:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.3-RELEASE i386 >Organization: >Environment: >Description: - Add missing math/fftw3 to LIB_DEPENDS - Add OPTION for print/pdflib support - Fix disabling WITH_LAME to effect properly >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/swftools/Makefile graphics/swftools/Makefile --- /usr/ports/graphics/swftools/Makefile 2010-07-07 15:33:19.000000000 +0900 +++ graphics/swftools/Makefile 2010-07-07 15:42:47.000000000 +0900 @@ -8,6 +8,7 @@ PORTNAME= swftools PORTVERSION= 0.9.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.swftools.org/ \ http://www.c-s.li/ports/ @@ -18,18 +19,21 @@ LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib \ jpeg.11:${PORTSDIR}/graphics/jpeg \ ungif.5:${PORTSDIR}/graphics/libungif \ + fftw3.5:${PORTSDIR}/math/fftw3 \ freetype.9:${PORTSDIR}/print/freetype2 \ fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig LICENSE= GPLv2 -OPTIONS= LAME "LAME MP3 audio encoder support" off +OPTIONS= LAME "LAME MP3 audio encoder support" off \ + PDF "PDFlib support" off USE_GNOME= pkgconfig USE_GL= glut USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ + ac_cv_lib_zzip_zzip_file_open=no MAKE_JOBS_SAFE= yes @@ -45,7 +49,17 @@ .if defined(WITH_LAME) LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame .else -CONFIGURE_ARGS+= --disable-lame +#CONFIGURE_ARGS+= --disable-lame +CONFIGURE_ENV+= ac_cv_lib_mp3lame_lame_init=no +.endif + +.if defined(WITH_PDF) +LIB_DEPENDS+= pdf.8:${PORTSDIR}/print/pdflib +PLIST_SUB+= PDF="" +MAN1+= pdf2pdf.1 +.else +CONFIGURE_ENV+= ac_cv_header_pdflib_h=no +PLIST_SUB+= PDF="@comment " .endif post-patch: diff -urN /usr/ports/graphics/swftools/pkg-plist graphics/swftools/pkg-plist --- /usr/ports/graphics/swftools/pkg-plist 2009-05-09 22:07:32.000000000 +0900 +++ graphics/swftools/pkg-plist 2010-06-06 20:16:30.000000000 +0900 @@ -2,6 +2,7 @@ bin/font2swf bin/gif2swf bin/jpeg2swf +%%PDF%%bin/pdf2pdf bin/pdf2swf bin/png2swf bin/swfbbox >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100714030101.986a1969.tkato432>