source: trunk/dports/print/pdflib/Portfile @ 12125

Last change on this file since 12125 was 12125, checked in by toby, 13 years ago

tiger fix

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.3 2005/05/02 05:35:34 toby Exp $
2
3PortSystem 1.0
4
5name                    pdflib
6version                 6.0.1
7revision                1
8categories              print
9platforms               darwin
10maintainers             mww@opendarwin.org
11description             library of C routines to programmatically generate PDF files
12long_description        PDFlib is a library of C routines which allow you to \
13                                programmatically generate files in Adobe's Portable Document \
14                                format PDF.
15
16homepage                http://pdflib.sourceforge.net/
17master_sites    http://www.pdflib.com/products/pdflib/download/601src/ \
18                                freebsd
19distname                PDFlib-Lite-${version}
20checksums               md5 6a4f3c0c8407e0ed1d5c9d5233b1b62b
21patchfiles              patch-config-mkcommon.inc.in patch-libs__pdcore__pc_util.h
22
23configure.args  --without-java --without-perl --without-py --without-tcl
24
25variant java {
26        configure.args-delete   --without-java
27        configure.args-append   --with-java=yes
28}
29
30variant perl {
31        depends_lib                             path:${prefix}/bin/perl:perl5.8
32        configure.args-delete   --without-perl
33        configure.args-append   --with-perl=${prefix}/bin/perl
34}
35
36variant python {
37        depends_lib                             path:${prefix}/bin/python:python24
38        configure.args-delete   --without-py
39        configure.args-append   --with-py=${prefix}
40}
41
42variant tcl {
43        depends_lib                             path:${prefix}/bin/tclsh:tcl
44        configure.args-delete   --without-tcl
45        configure.args-append   --with-tcl=${prefix}/bin/tclsh
46}
47
Note: See TracBrowser for help on using the repository browser.