# $Id: Portfile 56197 2009-08-25 06:29:39Z gwright@macports.org $

PortSystem 1.0
name		pcre++
version		0.9.5
revision	1
categories	devel
platforms	darwin 
maintainers	gwright
description	C++ wrapper for the Perl Compatible Regular Expressions Library
long_description \
	PCRE++ is a C++ wrapper-class for the great library PCRE	\
	(Perl Compatible Regular Expressions) by Philip Hazel.		\
	This class allows you to use perl alike regular expressions	\
	in your C++ applications. You can use it to search in strings,	\
	to split strings into parts using expressions or to search and	\
	replace a part of a string with another part. 
homepage	http://www.daemon.de/PCRE
master_sites	http://www.daemon.de/idisk/Apps/${name}

checksums	md5     1fe6ea8e23ece01fde2ce5fb4746acc2 \
		sha1    7cb640555c6adf34bf366139b22f6d1a66bd1fb0 \
		rmd160  1aa3c933f271caacaeec08af02c7903dd4405c41

depends_lib	port:pcre

patchfiles	patch-doc_Makefile.in.diff

configure.args	--mandir=${prefix}/share/man		\
		--with-pcre-include=${prefix}/include	\
		--with-pcre-lib=${prefix}/lib

post-destroot	{ file delete ${destroot}${prefix}/share/man/man3/Pcre.3 }

