# $OpenBSD$

COMMENT =	build sprintf-like functions of your own

DISTNAME =	String-Formatter-0.102084

CATEGORIES =	devel

# GPLv2
PERMIT_PACKAGE_CDROM =	Yes

MODULES =		cpan

RUN_DEPENDS =		devel/p5-Params-Util \
			devel/p5-Sub-Exporter

PKG_ARCH =		*

# Remove Cookbook.pm because it's duplicated with the manpage
# Remove bench.pl because of namespace pollution and being
# useful only to the author
post-install:
	@rm -f 	${PREFIX}/${P5SITE}/String/Formatter/Cookbook.pm \
		${PREFIX}/${P5SITE}/String/bench.pl

.include <bsd.port.mk>
