From owner-freebsd-ports@FreeBSD.ORG Thu Apr 8 15:35:49 2010 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4CCD106567E; Thu, 8 Apr 2010 15:35:49 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C7A0D8FC1B; Thu, 8 Apr 2010 15:35:48 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA29176; Thu, 08 Apr 2010 18:35:45 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4BBDF7D1.6070709@icyb.net.ua> Date: Thu, 08 Apr 2010 18:35:45 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100319) MIME-Version: 1.0 To: Steve Randall References: <4BBDC3E1.3070304@icyb.net.ua> <20100408093444.2c4acfa9@locust.local> In-Reply-To: <20100408093444.2c4acfa9@locust.local> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: openoffice.org-3.2.0-spadmin 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: Thu, 08 Apr 2010 15:35:49 -0000 on 08/04/2010 17:34 Steve Randall said the following: > On Thu, 08 Apr 2010 14:54:09 +0300 > Andriy Gapon wrote: > >> Not sure if this is an upstream issue or something in editors/openoffice.org-3: >> openoffice.org-3.2.0-spadmin is a symlink to openoffice.org-3.2.0 and running it >> produces a "new document" startup window. >> I believe that it should be a symlink to >> ${LOCALBASE}/openoffice.org-3.2.0/openoffice.org3/program/spadmin which is the >> actual openoffice.org printer configuration program which, for example, allows to >> select which of the printers is to be used as a default one. > > There's an omission in the port Makefile. The problem is that the > wrapper script /usr/local/bin/openoffice.org-3.2.0 contains a > %%OOOVERSION%% that does not get replaced (with "3.2.0") prior to > installing the file. Just make that change manually and it will work. Oh, I see what you say: ... oopath=/usr/local/openoffice.org-3.2.0/openoffice.org3 program=`echo $0 | sed -e 's|.*-%%OOOVERSION%%-||'` ... Probably replace command for openoffice.org-wrapper file in post-install target needs to grow the following substitution: -e 's#%%OOOVERSION%%#${OOOVERSION}#g' -- Andriy Gapon