Subject: Re: new xmms NetBSD skin
To: Richard Rauch <rkr@olib.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-advocacy
Date: 04/26/2005 08:18:34
On Tue, 26 Apr 2005, Richard Rauch wrote:
> Making a package shouldn't be too hard. I don't know if pkgsrc has
> any specific support for installing just data files, or if you'll
> have to add an installation script to the pkgsrc package for it...
Here is a simple example:
NO_CONFIGURE= # defined
NO_BUILD= # defined
INSTALLATION_DIRS= share/whatever man/man1 # directories needed
do-install:
${INSTALL_DATA} ${WRKSRC}/somefile ${PREFIX}/share/whatever/
${INSTALL_MAN} ${WRKSRC}/documentation/something.1 ${PREFIX}/man/man1/
Some use pax or cpio to copy if there are a lot of files.
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/