diff options
author | mezz <mezz@FreeBSD.org> | 2008-07-04 00:13:44 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2008-07-04 00:13:44 +0800 |
commit | 1b76bd94bd489f4bfad1bd33109129426d083300 (patch) | |
tree | 4e8b12f6d6a5f5193539d56836aaf2bbefb96827 /graphics/poppler | |
parent | 0a211c575dc25c766b57a4493946e2d83fdbdc43 (diff) | |
download | freebsd-ports-gnome-1b76bd94bd489f4bfad1bd33109129426d083300.tar.gz freebsd-ports-gnome-1b76bd94bd489f4bfad1bd33109129426d083300.tar.zst freebsd-ports-gnome-1b76bd94bd489f4bfad1bd33109129426d083300.zip |
- Add jpeg dependency, bump the PORTREVISION on poppler, poppler-qt4 and
poppler-utils.
- Add --disable-gdk and --disable-gtk-test if it's not poppler-gtk.
- Minor clean up related w/ whitespace.
Diffstat (limited to 'graphics/poppler')
-rw-r--r-- | graphics/poppler/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index ea89c76410d1..3f81bf36e088 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -8,14 +8,15 @@ PORTNAME= poppler PORTVERSION= 0.8.4 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= graphics print MASTER_SITES= http://poppler.freedesktop.org/ MAINTAINER?= gnome@FreeBSD.org COMMENT?= A PDF rendering library -LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= poppler-data>0:${PORTSDIR}/graphics/poppler-data USE_GMAKE= yes @@ -36,13 +37,16 @@ OPTIONS= CAIRO "Enable cairo output backend" on .if defined(SLAVEPORT) LIB_DEPENDS+= poppler.3:${PORTSDIR}/graphics/poppler + .if ${SLAVEPORT}=="gtk" CONFIGURE_ARGS+=--enable-poppler-glib USE_GNOME+= gtk20 BUILD_WRKSRC= ${WRKSRC}/glib INSTALL_WRKSRC= ${WRKSRC}/glib .else -CONFIGURE_ARGS+=--disable-poppler-glib +CONFIGURE_ARGS+=--disable-poppler-glib \ + --disable-gdk \ + --disable-gtk-test .endif .if ${SLAVEPORT}=="qt" @@ -73,20 +77,21 @@ CONFIGURE_ARGS+=--enable-utils CONFLICTS= xpdf-[0-9]* BUILD_WRKSRC= ${WRKSRC}/utils INSTALL_WRKSRC= ${WRKSRC}/utils -MAN1= pdffonts.1 pdfimages.1 pdfinfo.1 \ - pdftohtml.1 pdftops.1 pdftotext.1 pdftoppm.1 +MAN1= pdffonts.1 pdfimages.1 pdfinfo.1 \ + pdftohtml.1 pdftops.1 pdftotext.1 pdftoppm.1 .else CONFIGURE_ARGS+=--disable-utils .endif .else CONFIGURE_ARGS+=--disable-poppler-glib --disable-poppler-qt \ - --disable-poppler-qt4 --disable-utils + --disable-poppler-qt4 --disable-utils --disable-gdk \ + --disable-gtk-test .if defined(WITHOUT_CAIRO) -CONFIGURE_ARGS+= --disable-cairo-output +CONFIGURE_ARGS+=--disable-cairo-output .else -LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo +LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo .endif .endif |