diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-09-11 11:18:34 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-09-11 11:18:34 +0000 |
commit | f713b12587d40040d39590ef84210d2103c2a2be (patch) | |
tree | fdbc6c9169a8c207be5e51ab2a0afcc1ab21b48d /graphics/swftools | |
parent | 17a25863f6935bbd85678c921212f12ad73ec931 (diff) | |
download | ports-f713b12587d40040d39590ef84210d2103c2a2be.tar.gz ports-f713b12587d40040d39590ef84210d2103c2a2be.zip |
Notes
Diffstat (limited to 'graphics/swftools')
-rw-r--r-- | graphics/swftools/Makefile | 20 | ||||
-rw-r--r-- | graphics/swftools/pkg-plist | 1 |
2 files changed, 18 insertions, 3 deletions
diff --git a/graphics/swftools/Makefile b/graphics/swftools/Makefile index 3674e5933177..71e1a811ec8f 100644 --- a/graphics/swftools/Makefile +++ b/graphics/swftools/Makefile @@ -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 @@ COMMENT= SWF manipulation and generation utilities 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 @@ LDFLAGS= -L${LOCALBASE}/lib .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_lib_pdf_PDF_open_file=no +PLIST_SUB+= PDF="@comment " .endif post-patch: diff --git a/graphics/swftools/pkg-plist b/graphics/swftools/pkg-plist index 1ce058e8b940..b600c1bcd11c 100644 --- a/graphics/swftools/pkg-plist +++ b/graphics/swftools/pkg-plist @@ -2,6 +2,7 @@ bin/as3compile bin/font2swf bin/gif2swf bin/jpeg2swf +%%PDF%%bin/pdf2pdf bin/pdf2swf bin/png2swf bin/swfbbox |