aboutsummaryrefslogtreecommitdiff
path: root/graphics/swftools/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-09-11 11:18:34 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-09-11 11:18:34 +0000
commitf713b12587d40040d39590ef84210d2103c2a2be (patch)
treefdbc6c9169a8c207be5e51ab2a0afcc1ab21b48d /graphics/swftools/Makefile
parent17a25863f6935bbd85678c921212f12ad73ec931 (diff)
downloadports-f713b12587d40040d39590ef84210d2103c2a2be.tar.gz
ports-f713b12587d40040d39590ef84210d2103c2a2be.zip
- Add missing math/fftw3 to LIB_DEPENDS
- Add OPTION for print/pdflib support - Fix disabling WITH_LAME to effect properly PR: 148559 Submitted by: Ports Fury Approved by: maintainer
Notes
Notes: svn path=/head/; revision=260961
Diffstat (limited to 'graphics/swftools/Makefile')
-rw-r--r--graphics/swftools/Makefile20
1 files changed, 17 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: