From owner-freebsd-ports@FreeBSD.ORG Tue Dec 15 09:33:45 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C85B31065692 for ; Tue, 15 Dec 2009 09:33:45 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 5E7BC8FC0C for ; Tue, 15 Dec 2009 09:33:45 +0000 (UTC) Received: by fxm27 with SMTP id 27so3985716fxm.3 for ; Tue, 15 Dec 2009 01:33:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nSoZf8+4yGS7OsFGFoXERwN0xUAOK1UrJlobQqApr7Q=; b=Wqb0RGDAsWohKzowhJjGzmLaArLXlc/5QxLgiboFYaBtDIGPY401PddCdkibiEnE+8 g4jhkwOUpmIcCeES3sysdzJj+pfSMv9Eab1Wvl6aBWqQJt87m3qx3JyeLWDiyJCsSbCj 5pS1PDQ7XTt2TcW3XhnTmHJm89zPwSRCUxniI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=NcL3mJozrY2cg7OYOrCeU1sTfJLNXQaKZGLf9hSqTXx5z9k11jz+Wna6PuaMp0OIEv ApPvFMDrB3XZGcln9iuX+Rn4uz/QkC8RVh4npt1i3dRYIfDGAARwNZnM1idVBHQ4fFg2 Yft1bomgU5kROC7znmevsKhJxmX6iWrxJLMm0= MIME-Version: 1.0 Received: by 10.86.198.20 with SMTP id v20mr7624556fgf.54.1260869624039; Tue, 15 Dec 2009 01:33:44 -0800 (PST) In-Reply-To: <4B274487.7080505@infracaninophile.co.uk> References: <20091214151318.GC1016@wicklow.lan> <4B274487.7080505@infracaninophile.co.uk> Date: Tue, 15 Dec 2009 09:33:44 +0000 Message-ID: From: Baptiste Daroussin To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: New version of the fakeroot patch 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, 15 Dec 2009 09:33:45 -0000 > > Uh -- is it actually possible to create an empty directory when installin= g > from > a pkg tarball? > > I ran into this problem with the phpMyAdmin port, and the only good way I > found > to solve it was to add a stub file into any empty directories. =A0You cou= ld > use a post install script or an mtree file, but that seems like overkill = for > such a > trivial operation. Normally for empty directories : you add to the plist: @exec mkdir -p %D/path/to/empty @dirrm path/to/empty USE_FAKE can't solve this, but would prevent from forgetting to do such things, you also won't have a method for the ports (in the Makefile) and a method for the package. The installation being always done by installing the package, porters should only take care of the way the package does it : install scripts, user creation etc. regards, Bapt