seeking example for port who moves only some files

Mark Duling mark.duling at biola.edu
Sat Jan 20 14:20:25 PST 2007


Olaf Foellinger <olaf at foellinger.de> on Saturday, January 20, 2007 at 1:58
PM -0800 wrote:
>I'm looking for an example of a port that only extracts and installs
>some files. I want to add cleanscore which consists of a perl script and
>some documentation but nothing to compile.
>
>Please tell me the name of a port which has a similar source.

Gruss,

These MacPorts:

base
nedi

are two examples of mine.  Also, if there are few directories to copy and
no nested directories, it just takes two statements per path in a destroot
phase.

xintall -d -m 755 ${worksrcpath}/path1   ${destroot}/path1
eval  xintall -m 755 [glob ${worksrcpath}/path1/*.pl]  ${destroot}/path1

I think I made the nedi use gnutar because I thought maybe mimicking what
happens automatically in the extract phase would be good.   But I don't
know, recently learned that someone got this:

--------------------
---> Staging nedi into destroot
Error: Target com.apple.destroot returned: shell command "cd
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_net_nedi/work/destroot/opt/local/share
&& gzip -dc /opt/local/var/db/dports/distfiles/nedi/nedi-1.0.w-rc3.tgz |
/usr/bin/gnutar --no-same-owner -xf -" returned error 2
Command output: /usr/bin/gnutar: unrecognized option `--no-same-owner'
Try `/usr/bin/gnutar --help' for more information.

gzip: stdout: Broken pipe
----------------------

I've never seen this before.  Does anyone know what would cause this error
on OS X?

Mark




More information about the macports-dev mailing list