Ignore:
Timestamp:
Aug 23, 2003, 3:40:28 PM (16 years ago)
Author:
fkr
Message:

Bug: #823
Submitted by: darwin@… (Jason Deraleau)
Reviewed by:
Approved by:
Obtained from:

fix the post-configure step.

File:
1 edited

Legend:

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

    r2757 r3321  
    22
    33PortSystem 1.0
    4 
    54name            gd2
    65version         2.0.15
     
    98maintainers     michaelm@opendarwin.org
    109description     GD creates PNG and JPEG images, among other formats
     10long_description        gd is a graphics library. It allows your code to \
     11                        quickly draw images complete with lines, arcs, text, \
     12                        multiple colors, cut and paste from other images, and \
     13                        flood fills, and write out the result as a .PNG file. \
     14                        This is particularly useful in World Wide Web applications, \
     15                        where .PNG is the format used for inline images. \
     16                        gd is not a paint program. If you are looking for a paint \
     17                        program, you are looking in the wrong place. \
     18                        If you are not a programmer, you are looking in the wrong \
     19                        place.
    1120master_sites    http://www.boutell.com/gd/http/
    1221checksums       md5 6ededf633b4fd054662ec123c7825fbb
     
    1625
    1726patchfiles      patch-configure
    18 post-configure  {
    19                   reinplace "s|CPPFLAGS = -I${prefix}/include |CPPFLAGS = |" \
    20                     Makefile
    21                   reinplace "s|LDFLAGS =  -L${prefix}/lib |LDFLAGS = |" \
    22                     Makefile
    23 }
    24 
     27post-configure {        reinplace "s|CPPFLAGS = |CPPFLAGS = -I${prefix}/include |g" Makefile
     28                        reinplace "s|LDFLAGS = |LDFLAGS =  -L${prefix}/libi |g" Makefile }
    2529build.args       CCLD="gcc -L./.libs"   
    26 
    27 
    28 
    29 
    30 
    31 
    32 
    33 long_description  \
    34 gd is a graphics library. It allows your code to quickly draw images \
    35 complete with lines, arcs, text, multiple colors, cut and paste from \
    36 other images, and flood fills, and write out the result as a .PNG file. \
    37 This is particularly useful in World Wide Web applications, where .PNG \
    38 is the format used for inline images. \
    39 gd is not a paint program. If you are looking for a paint program, you \
    40 are looking in the wrong place. If you are not a programmer, you are \
    41 looking in the wrong place.
    42 
    43 
Note: See TracChangeset for help on using the changeset viewer.