Ignore:
Timestamp:
Apr 5, 2005, 4:02:33 PM (15 years ago)
Author:
olegb
Message:

Bug: 2849
Submitted by:
Reviewed by:
Approved by:
Obtained from:

make xpdf build the x part.
add dep on libpaper
put --enable-a4 in a variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/xpdf/Portfile

    r10161 r11631  
    1 # $Id: Portfile,v 1.8 2005/01/02 10:37:29 olegb Exp $
     1# $Id: Portfile,v 1.9 2005/04/05 16:02:33 olegb Exp $
    22PortSystem 1.0
    33name            xpdf
    44version         3.00
     5revision        1
    56description     Xpdf is a viewer for PDF files.
    67long_description        Xpdf is a viewer for Portable Document Format \
    78                        (PDF) files.  These are also sometimes also called \
    8                         'Acrobat' files, from the name of Adobe's PDF \
     9                        Acrobat files, from the name of Adobes PDF \
    910                        software.
    1011maintainers     olegb@opendarwin.org
     
    2829distname        xpdf-3.00
    2930depends_lib     lib:libX11.6:XFree86 lib:libXm.4:openmotif lib:libt1.5:t1lib \
    30                 lib:libfreetype.6:freetype
    31 configure.args  --with-Xm-library=/usr/X11R6/lib \
    32                 --with-Xm-includes=/usr/X11R6/include \
    33                 --mandir=${prefix}/share/man \
     31                lib:libfreetype.6:freetype lib:libpaper:libpaper
     32configure.args  --with-x --mandir=${prefix}/share/man \
    3433                --with-t1-library=${prefix}/lib \
    3534                --with-t1-includes=${prefix}/include \
    36                 --enable-a4-paper \
     35                --with-libpaper-library=${prefix}/lib \
     36                --with-libpaper-includes=${prefix}/include \
    3737                --with-freetype2-library=/usr/X11R6/lib \
    38                 --with-freetype2-includes=/usr/X11R6/include/freetype2
    39 configure.env   CXXFLAGS="-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include"
     38                --with-freetype2-includes=/usr/X11R6/include/freetype2
     39                #--with-Xt-library=/usr/X11R6/lib --with-Xt-includes=/usr/X11R6/include
     40configure.env   CXXFLAGS="-I/usr/X11R6/include/freetype2 -I${prefix}/include" \
     41                CFLAGS="-I/usr/X11R6/include" \
     42                CPPFLAGS="-I/usr/X11R6/include" \
     43                LDFLAGS="-lz"
     44variant a4 {
     45        configure.args-append --enable-a4-paper
     46}
Note: See TracChangeset for help on using the changeset viewer.