From owner-freebsd-ports@FreeBSD.ORG Mon Jan 11 09:14:45 2010 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 AC5041065670 for ; Mon, 11 Jan 2010 09:14:45 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 78E7B8FC18 for ; Mon, 11 Jan 2010 09:14:45 +0000 (UTC) Received: by iwn36 with SMTP id 36so14414080iwn.3 for ; Mon, 11 Jan 2010 01:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=j62XGii1s6Bz58kIvdU7TTqOVIiJlKMwXDa13jTlmkE=; b=YlvQ4D4vzNeLrsbHav1o+Yi5aRDosrqTdguclSBC53mgCvtY0F2Y7r5jlNIzPSpySj rb959eDn2tPHvlBdVYsHPskAhyhHmjA95nU1QUieysOCZGK3+lPaDxHO7lFmJ22TAR+e sFcC+MYbY4sxzcmOHOQ+S//B6y+Sps+a1PXK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=MUpTGBHnh64sRqRAF66oLgaCgknF3wAWWleyYyaBz2wl4PxJDgfRa/8Rl88eDnv9t8 ZkLtLUpmEaNPwmYekJ34/ZNQhsiS0MsnL/BgnorFZJ3txOUHKIJWuDGoedGGyKOma/ei GRHxpMDhAM3fMI47meSy1SOKATDNb9ro/mtb4= MIME-Version: 1.0 Received: by 10.231.168.136 with SMTP id u8mr1037260iby.56.1263201281797; Mon, 11 Jan 2010 01:14:41 -0800 (PST) Date: Mon, 11 Jan 2010 03:14:41 -0600 Message-ID: <790a9fff1001110114i7252ce3dh862930e810b73e92@mail.gmail.com> From: Scot Hetzel To: Yuriy Grishin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org Subject: (no subject) 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: Mon, 11 Jan 2010 09:14:45 -0000 2010/1/10 Yuriy Grishin : > Hi all, > > Right after the installation process there is a backup directory (that is > empty yet) relevant to the prefix. > After typing > > #make package > > there is a .tbz appears. > I don't know the reason but there is no backup directory in it. > On the other hand, pkg-plist does include backup, so if I try to > > #make deinstall > > it can't find the directory and stops (couldn't find a ...../backup. > Incorrectly specified huh?) > The strange thing is that if you type > #cd /usr/ports/www/sams && make install clean > .... > #pkg_delete sams-1.0.5,1 > > there are no warnings! > How to fix this? > OR > Can I skip the warning and go ahead submitting the upgrade? > You should fix the port, so that the package will contain the backup directory. Add the following to the pkg-plist: @exec mkdir -p %D/%%DATADIR%%/backup Scot