From owner-freebsd-ports@FreeBSD.ORG Tue Mar 27 19:01:21 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2EE716A400 for ; Tue, 27 Mar 2007 19:01:20 +0000 (UTC) (envelope-from G.V.Tjong-A-Hung@student.TUDelft.NL) Received: from mailservice.tudelft.nl (mailservice.tudelft.nl [130.161.131.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7742413C4BC for ; Tue, 27 Mar 2007 19:01:20 +0000 (UTC) (envelope-from G.V.Tjong-A-Hung@student.TUDelft.NL) Received: from localhost (localhost [127.0.0.1]) by rav.antivirus (Postfix) with ESMTP id BF7E922EE9D for ; Tue, 27 Mar 2007 20:30:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at tudelft.nl X-Spam-Score: -4.378 X-Spam-Level: X-Spam-Status: No, score=-4.378 tagged_above=-99 required=5 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, HTML_MESSAGE=0.001, PROLO_LEO3=0.01, PROLO_LEO5=0.01] Received: from mailservice.tudelft.nl ([127.0.0.1]) by localhost (tudelft.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 256ZPJIZwZ5x for ; Tue, 27 Mar 2007 20:30:23 +0200 (CEST) Received: from srv028.tudelft.net (srv028.tudelft.net [131.180.0.83]) by mx1.tudelft.nl (Postfix) with ESMTP id C52DC22EEB0 for ; Tue, 27 Mar 2007 20:30:23 +0200 (CEST) Received: from SRV602.tudelft.net ([131.180.6.20]) by srv028.tudelft.net with Microsoft SMTPSVC(6.0.3790.2499); Tue, 27 Mar 2007 20:30:06 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 27 Mar 2007 20:30:04 +0200 Message-ID: <7179262C99DD344EBE01B432F636147740DC7B@SRV602.tudelft.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: optional dependencies thread-index: AcdwnfAKlcPGoM9oSmK8LTnseey3aQ== From: "Tjong-A-Hung" To: X-OriginalArrivalTime: 27 Mar 2007 18:30:06.0299 (UTC) FILETIME=[F13F6AB0:01C7709D] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: optional dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 19:01:21 -0000 Dear all, for quite some time I have been annoyed by the fact that alot of ports = seem to install so called dependencies which *I* don't need. An example is a port needs a pdfviewer, I have acroread installed. = Someone may think xpdf or kpdf is better. All of that is besides the = point. If the port needs a pdfviewer and I have *my* favourite pdf viwer = installed, don't install the pdfviewer *you* think is best. Isn't it possible to add optional dependencies like: look if he has kpdf/xpdf/acroread, if so do not install the pdfviewer. = configure the app in such a way that it does use this pdfviewer I = already have installed. And if not install *your* choice of pdfviewer. texmaker is one of these ports where this doesn't happen as I would like = it to. I have read up on the porters handbook to see if it was possible, but = the only thing I could find was the following: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefil= e-depend.html This however doesn't provide enough information to me to create a = dependency the way I would like it too. Is there someone in the community who can give me a clue of what I *can* = do? Regards, Gabor