aboutsummaryrefslogtreecommitdiffstats
path: root/games/p5-Games-Bingo-Bot/Makefile
blob: c542cfbecee0e91bd49e05b4a58df0c88f4d3017 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Lars Thegler <lars@thegler.dk>
# $FreeBSD$

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

MAINTAINER= lth@FreeBSD.org
COMMENT=    A simple class holding IRC related methods for bingo

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

USES=       perl5
USE_PERL5=  configure

PORTEXAMPLES=   bingobot.pl

OPTIONS_DEFINE= EXAMPLES

.include <bsd.port.options.mk>

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

regression-test: build
    @cd ${WRKSRC} && ${MAKE} -s test

.include <bsd.port.mk>