PortSystem 1.0

name			drumsxx
version			0.96
categories		audio
license			Restrictive
platforms		darwin
maintainers		nomaintainer
description		language designed for sequencing music through drum machines
long_description	Drums++ is a programming language designed for \
				sequencing music through drum machines. It uses simple \
				C ideas, for example // and /* */ comments and { } to \
				seperate sections. It is made as simple as possible so \
				even a non-programmer can use it. Drums++ can both \
				directly control your MIDI device or it can create \
				.midi files

homepage		http://dpp.mikekohn.net/
master_sites	http://downloads.mikekohn.net/drumsplusplus/
distname		drumsplusplus-${version}

checksums		md5     b15d50e0a9821b56050346d2bb396881 \
				sha1    d0189a8b81fcbb0af60cfdc1c63964cc49ec8f24 \
				rmd160  f3338e7d1bcc4560d92d42c805bb668a141ab2c3

use_configure	no

build.target
build.args-append	CC=${configure.cc}

destroot	{
	xinstall -m 755 -s ${worksrcpath}/playdpp ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
	xinstall -m 644 -W ${worksrcpath}/samples drum_defines.inc features.dpp \
		pattern.inc sample.dpp simple.dpp test_include.dpp \
		${destroot}${prefix}/share/doc/${name}/examples
}

livecheck.type	regex
livecheck.url	http://dpp.mikekohn.net/download.php
livecheck.regex	{drumsplusplus-([0-9.]+)\.tar}
