seeking example for port who moves only some files

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

Olaf Foellinger <olaf at> 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.


These MacPorts:


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

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 returned: shell command "cd
&& 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?


More information about the macports-dev mailing list