pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: copying a bunch of files !



Thank you, I'm trying to use INSTALLATION_DIRS= file/subdir file/subdir2  and later doing

.for files in  ${INSTALLATION_DIRS}
  copy it to other

I'm rewiewing the examples hat you recommended.

Regards

On Wed, Mar 5, 2008 at 6:54 PM, Jeremy C. Reed <reed%reedmedia.net@localhost> wrote:
On Tue, 4 Mar 2008, Francisco Valladolid wrote:

> I'm working with a Makefile for a package, it contain a bunch of files, that
> requiere copying to /usr/pkg/share/examples/package_name per example.
>
> I have various directories inside my work package. Single files work fine,
> directories do not.
>
> How can do it ?

I think I have seen pkgsrc do this in do-install or post-install targets
using cp -R, cpio, and pax.

Look at pkgsrc/games/xtux/Makefile and misc/rox-memo/Makefile for pax
examples.

pkgsrc/graphics/ruby-gd/Makefile has a cp -R example.

pkgsrc also has examples of using tar to install files.

 Jeremy C. Reed



--
Francisco Valladolid H.
-- http://bsdguy.net - Jesus Christ follower.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index