# $Id: Portfile 75257 2011-01-19 06:23:12Z ryandesign@macports.org $

PortSystem	1.0
name		ipcs
version		1.0
categories	sysutils
maintainers	waqar openmaintainer
description	ipcs / ipcrm commands for os x
long_description \
	The ipcs command can be used to obtain the status of all 	\
	System V IPC objects. The ipcrm command can be used to remove 	\
	an IPC object from the kernel. While IPC objects can be 	\
	removed via system calls in user code, the need often arises, 	\
	especially under development environments, to remove IPC 	\
	objects manually.
homepage	http://www.cameronpond.org/computer.html
distname	${name}
platforms	darwin
master_sites	http://www.cameronpond.org/~alex
checksums	md5 10f014a4c94d9d4bb1e3163a34534934
use_configure	no
build.target	{}

platform darwin 8 {
pre-fetch {
return -code error "\n
	This port is broken on OS X 10.4, but not necessary on 10.4 either because
	beginning with 10.4, Apple includes the ipcs and ipcrm utilities as standard.
\n"
}
}

destroot	{
	xinstall -W ${worksrcpath} ipcs ipcrm ${destroot}${prefix}/bin
	xinstall -W ${worksrcpath} ipcs.1 ipcrm.1 ${destroot}${prefix}/share/man/man1
}
