# -*- 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			bsdsfv
version			1.18
revision		1
categories		sysutils
platforms		darwin
maintainers		{@simmel soy.se:simmel} openmaintainer
description		BSD-licensed simple file verification utility
long_description \
		bsdsfv can create and verify simple file verification (.sfv) files in \
		a very flexible and compatible way.
homepage		http://bsdsfv.sourceforge.net/
master_sites	sourceforge
checksums		md5 381df19a827d5a20097ab95ea9e760fa \
				sha1 5e72c5e12bce2d5f77469d8f2425064a0ea6fc1e \
				rmd160 5b1a0d31b5e0cb6814a08a438f8bfaf930f4005e

patchfiles		patch-Makefile patch-bsdsfv.c
worksrcdir		${name}
use_configure		no
test.run		no

build.env		"CC=${configure.cc} ${configure.cc_archflags}" \
				"CFLAGS=${configure.cflags} ${configure.cppflags}" \
				LDFLAGS=${configure.ldflags}

destroot.args	PREFIX=${prefix} INSTALL="${configure.install}"
