source: trunk/dports/textproc/htmldoc/Portfile @ 11270

Last change on this file since 11270 was 11035, checked in by mij, 15 years ago

Update to version 1.8.24.

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

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1# $Id: Portfile,v 1.7 2005/02/18 07:08:14 mij Exp $
2
3PortSystem 1.0
4name            htmldoc
5version         1.8.24
6categories      textproc
7maintainers     mij@opendarwin.org
8description     Converts HTML files to PDF or PostScript
9homepage        http://www.easysw.com/htmldoc/
10platforms       darwin
11
12long_description htmldoc can convert HTML files to PDF or PostScript, \
13                 generate a table-of-contents for books, and generate \
14                 indexed HTML files.  It also generates files on-the-fly \
15                 for web applications or for batch jobs.
16
17master_sites    http://ftp.easysw.com/pub/htmldoc/${version}/ \
18                ftp://ftp.easysw.com/pub/htmldoc/${version}/
19
20checksums       md5 d781c605f2a370246db1f5d70a41bbe4
21
22distname        ${portname}-${portversion}-source
23worksrcdir      ${portname}-${portversion}
24use_bzip2       yes
25
26depends_lib     lib:libjpeg.62:jpeg lib:libpng.3:libpng lib:libz.1:zlib
27
28configure.env   CFLAGS="-I${prefix}/include" \
29                CXXFLAGS="-I${prefix}/include" \
30                CPPFLAGS="-I${prefix}/include" \
31                LDFLAGS="-L${prefix}/lib"
32
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 TracBrowser for help on using the repository browser.