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

Last change on this file since 10946 was 10946, checked in by rshaw, 13 years ago

Adds +java, +python, +perl, and +tcl variants to properly depend on, and
locate the DP versions of python, perl, and tcl instead of trying to install
in the Apple installed locations.
These are off by default since they are not required for normal libpdf.dylib
support by other ports.
Bumped revision.

Bug: darwinports list 2/12/2005 @ 8:45AM PST
Submitted by: Anthony Agelastos

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.2 2005/02/12 17:06:02 rshaw 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
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.