# Created by: Lars Thegler <lars@thegler.dk>
# $FreeBSD: head/games/p5-Games-Bingo-Bot/Makefile 451823 2017-10-12 08:10:43Z sunpoet $

PORTNAME=	Games-Bingo-Bot
PORTVERSION=	0.01
PORTREVISION=	2
CATEGORIES=	games perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Simple class holding IRC related methods for bingo

BUILD_DEPENDS=	p5-Games-Bingo>=0:games/p5-Games-Bingo
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5 shebangfix
SHEBANG_FILES=	bin/bingobot.pl
USE_PERL5=	configure
NO_ARCH=	yes

PORTEXAMPLES=	bingobot.pl

OPTIONS_DEFINE=	EXAMPLES

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/bin/bingobot.pl ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
