# $Id$

PortSystem 1.0

name			safestr
version			1.0.3
revision		1
categories		devel
license			BSD
maintainers		nomaintainer
description		Safe C String Library
long_description	The goal of the SafeStr library is to provide a rich \
			string-handling library for C that has safe semantics \
			yet interoperates with legacy library code in a \
			straightforward manner. Additionally, porting code \
			that uses standard C string handling should be \
			straightforward. The library should work on all modern \
			Unix-like platforms, as well as any 32-bit Microsoft \
			Windows OS.
homepage		https://web.archive.org/web/20120106082710/http://www.zork.org/safestr/
platforms		darwin

master_sites		http://web.archive.org/web/20061205223843/http://www.zork.org/software/
checksums		md5 a07412095226b0f6fcbd1d7acd4be732 \
			sha256 791256efff74317273cf8b64c9ad360b7bce16d561b4350bb7de9776c5855b6c

depends_lib		port:xxl

patchfiles		patch-configure.ac.diff \
			safefmt.c.patch

# build universal properly
use_autoreconf		yes

configure.args		--with-xxl=${prefix}