Re: [www/sams] #make package doesn't stick an empty dir.

2010-01-11 Thread Yuriy Grishin

Scot Hetzel wrote:

2010/1/10 Yuriy Grishingrishin-mailing-li...@minselhoz.samara.ru:
   

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

   

Thanks, it works!

--
Yuriy Grishin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[www/sams] #make package doesn't stick an empty dir.

2010-01-10 Thread 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?

Thank you.
--
Yuriy Grishin.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org