Ignore:
Timestamp:
Feb 18, 2005, 7:08:14 AM (15 years ago)
Author:
mij
Message:

Update to version 1.8.24.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/htmldoc/Portfile

    r3179 r11035  
    1 # $Id: Portfile,v 1.6 2003/08/05 21:02:43 jkh Exp $
     1# $Id: Portfile,v 1.7 2005/02/18 07:08:14 mij Exp $
    22
    33PortSystem 1.0
    44name            htmldoc
    5 version         1.8.23
     5version         1.8.24
    66categories      textproc
    77maintainers     mij@opendarwin.org
     
    1515                 for web applications or for batch jobs.
    1616
    17 master_sites    ftp://ftp.easysw.com/pub/htmldoc/1.8.23/
     17master_sites    http://ftp.easysw.com/pub/htmldoc/${version}/ \
     18                ftp://ftp.easysw.com/pub/htmldoc/${version}/
    1819
    19 checksums       md5 f867be6e4bdebf84ca6d58b16e4b839c
     20checksums       md5 d781c605f2a370246db1f5d70a41bbe4
    2021
    2122distname        ${portname}-${portversion}-source
     
    2324use_bzip2       yes
    2425
    25 depends_lib     lib:libjpeg.62:jpeg lib:libpng.3:libpng
     26depends_lib     lib:libjpeg.62:jpeg lib:libpng.3:libpng lib:libz.1:zlib
    2627
    27 configure.args  --without-gui
     28configure.env   CFLAGS="-I${prefix}/include" \
     29                CXXFLAGS="-I${prefix}/include" \
     30                CPPFLAGS="-I${prefix}/include" \
     31                LDFLAGS="-L${prefix}/lib"
    2832
    29 destroot.destdir prefix=${destroot}${prefix}
     33configure.args  --without-gui --disable-localjpeg --disable-localpng \
     34                --disable-localzlib --disable-ssl
     35
     36destroot.destdir prefix=${destroot}${prefix} exec_prefix=${destroot}${prefix} \
     37                 bindir=${destroot}${prefix}/bin
     38
     39variant ssl {
     40        if {[variant_isset gnutls] || [variant_isset cdsassl]} {
     41                ui_error "Only one of +ssl, +gnutls, or +cdsassl can be specified!"
     42                exit(1)
     43        }
     44        depends_lib-append      lib:libssl.0.9:openssl
     45        configure.args-delete   --disable-ssl
     46        configure.args-append   --enable-openssl --disable-gnutls --disable-cdsassl
     47}
     48
     49variant gnutls {
     50        if {[variant_isset ssl] || [variant_isset cdsassl]} {
     51                ui_error "Only one of +ssl, +gnutls, or +cdsassl can be specified!"
     52                exit 1
     53        }
     54        depends_lib-append      lib:libgnutls:gnutls
     55        configure.args-delete   --disable-ssl
     56        configure.args-append   --disable-openssl --enable-gnutls --disable-cdsassl
     57}
     58
     59variant cdsassl {
     60        if {[variant_isset ssl] || [variant_isset gnutls]} {
     61                ui_error "Only one of +ssl, +gnutls, or +cdsassl can be specified!"
     62                exit 1
     63        }
     64        configure.args-delete   --disable-ssl
     65        configure.args-append   --disable-openssl --disable-gnutls --enable-cdsassl
     66}
Note: See TracChangeset for help on using the changeset viewer.