Ignore:
Timestamp:
Feb 12, 2005, 5:06:02 PM (14 years ago)
Author:
rshaw
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/pdflib/Portfile

    r10568 r10946  
    1 # $Id: Portfile,v 1.1 2005/01/23 13:12:47 mww Exp $
     1# $Id: Portfile,v 1.2 2005/02/12 17:06:02 rshaw Exp $
    22
    33PortSystem 1.0
     
    55name                    pdflib
    66version                 6.0.1
     7revision                1
    78categories              print
    89platforms               darwin
     
    1920checksums               md5 6a4f3c0c8407e0ed1d5c9d5233b1b62b
    2021patchfiles              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 TracChangeset for help on using the changeset viewer.