Subject: Re: "package" target
To: None <>
From: Matthias Scheler <>
List: pkgsrc-users
Date: 03/30/2007 13:04:25
On Thu, Mar 29, 2007 at 10:24:16PM +0200, Jan Danielsson wrote:
>    However, this fails if the package has already been installed.
> Although I can understand why, I would really like to be able to create
> packages of already installed packages. Is is doable?

Yes, install the "pkg_tarup" package and use "make tarup" afterwards in
"pkgsrc/category/pkgname" afterwards.

To create binary packages for all installed package you could use a
script like this:

pkg_info -Q PKGPATH '*' |
while read DIR
	cd /usr/pkgsrc/$DIR
	make tarup

	Kind regards

Matthias Scheler