# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

name				nrg4iso
version				1.0.1
revision			2
checksums			rmd160  0a5c44aaccb6fe666e2191948e76cfd9570cd862 \
					sha256  0db33b7590d39639fb3ce29272e265fa85c6e33eced689916750721c458170cd \
					size    7209

platforms			darwin
categories			sysutils
license             BSD
maintainers			nomaintainer
description			nrg4iso extracts data from a Nero Burning ROM image file (.nrg).
long_description	nrg4iso is a command line utility designed to extract data from \
					a Nero Burning ROM image file (.nrg). Nrg image files may contain \
					various types of data (audio, iso9660,...) and nrg4iso will as \
					development progresses be able to extract most of them.

homepage			https://code.google.com/p/nrg4iso/
master_sites		googlecode
extract.suffix      .tgz

worksrcdir			${name}
use_configure		no
build.target		${name}
use_parallel_build	yes

compiler.c_standard	1989
configure.cflags-append \
					-std=gnu89

variant universal {}

build.args			CC=${configure.cc} \
					CFLAGS="${configure.cflags} [get_canonical_archflags cc]"

destroot {
	xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
}