From owner-freebsd-ports Fri Sep 27 12:34:51 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1F7A37B401 for ; Fri, 27 Sep 2002 12:34:49 -0700 (PDT) Received: from grillolja.cs.umu.se (grillolja.cs.umu.se [130.239.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4822943E4A for ; Fri, 27 Sep 2002 12:34:49 -0700 (PDT) (envelope-from tdv94ped@cs.umu.se) Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 36389A032; Fri, 27 Sep 2002 21:34:48 +0200 (MEST) Received: from cs.umu.se (h11n1c1o1023.bredband.skanova.com [213.64.164.11]) by grillolja.cs.umu.se (Postfix) with ESMTP id 1C420A02E; Fri, 27 Sep 2002 21:34:46 +0200 (MEST) Message-ID: <3D94B2CD.CF654D18@cs.umu.se> Date: Fri, 27 Sep 2002 21:34:37 +0200 From: Paul Everlund X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: Ying-Chieh Liao Cc: freebsd-ports@freebsd.org Subject: Re: ports/43420: [New port]: (X)Medcon 0.8.0 (X11) References: <200209271645.g8RGjg3M067251@freefall.freebsd.org> <3D9496F5.B4F1557F@cs.umu.se> <20020927174051.GA97615@terry.dragon2.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new amavisd-new-20020630 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Ying-Chieh Liao! First of all, thank you for taking a look at my pr! I earlier asked a question to the list, of how to make a port where the none-X11 application always will be installed, while the X11-application hence is optional. Got a few answers, but not a direct one, which I would have hoped for. One was that I preferably should make two ports, a X11 and a none-X11, so I did follow this path and came up with these two pr's. As it seems you're a project member, maybe you could decide if the following would be ok or not for a port, following the FreeBSD standard as closely as possible. If ok I can make it one port, with the -DWITHOUT_X11, else it would be really hard. That would require a lot in depth analyzing the Makefiles of the application. If installing the X11-version everything on the other hand always will go smoothly. So... Is this below ok for a port? Installing the none-X11 version ------------------------------- * medcon is installed, but not it's companion xmedcon, in /usr/local/bin. * The man-page xmedcon.1 (for the X11-application) is in- stalled, but there is no xmedcon (see above). * In /usr/local/etc/ the xmedconrc, xmedconrc.linux, and xmedcon.png is installed, but never used. There are two solutions for this, as I see it, if it's not ok, but I don't know if they can/should be done of some reason: 1. Is it possible, by defines as -DWITHOUT_X11, to select which patch-files that should be applied when patching? 2. Is it ok to remove unused files in the post-install? Then those not used, if defined -DWITHOUT_X11, can be removed after the real install has been done. Looking forward for an answer, and once more: Thank you! Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message