From owner-freebsd-ports@FreeBSD.ORG Sat Jan 10 08:05:37 2004 Return-Path: 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 39EE516A4CE for ; Sat, 10 Jan 2004 08:05:37 -0800 (PST) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 329C343D1D for ; Sat, 10 Jan 2004 08:05:36 -0800 (PST) (envelope-from adamw@magnesium.net) Received: (qmail 2866 invoked by uid 1252); 10 Jan 2004 16:05:36 -0000 Date: 10 Jan 2004 11:05:36 -0500 Date: Sat, 10 Jan 2004 11:05:36 -0500 From: Adam Weinberger To: Marco van de Voort Message-ID: <20040110160535.GA57459@toxic.magnesium.net> References: <20040110160215.35B5692@toad.stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040110160215.35B5692@toad.stack.nl> X-Editor: Vim 6.2 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx X-ASL: 6/m/behind you User-Agent: Mutt/1.5.4i cc: freebsd-ports@freebsd.org Subject: Re: %%PORTVERSION%% X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 16:05:37 -0000 >> (01.10.2004 @ 1102 PST): Marco van de Voort said, in 0.8K: << > > Ok, shorter version then :) > > I made a port (lang/fpc-devel), which installs file, but when deinstalling I get a lot of > > pkg_delete: file '/fpc/porttest/lib/fpc/%%PORTVERSION%%/msg/errord.msg' doesn't really exist > > It seems that %%PORTVERSION%% isn't expanded as it should. What could I be doing wrong? > > The old port (lang/fpc) also does have %%PORTVERSION%% in pkg-plist, so it should be possible > > Makefile contains: > > PORTVERSION= 1.9.2 > > and I made sure that the makefiles do indeed end up in > /fpc/porttest/lib/fpc/1.9.2/msg/errord.msg > > The whole (68 line) Makefile is at http://www.stack.nl/~marcov/fpcdevelport.tar.gz >> end of "%%PORTVERSION%%" from Marco van de Voort << Add PLIST_SUB+= PORTVERSION="${PORTVERSION}" # Adam -- Adam Weinberger adam@vectors.cx // adamw@FreeBSD.org // adamw@magnesium.net http://www.vectors.cx