freebsd-ports/games/p5-Games-Bingo-Bot/Makefile
Emanuel Haupt fcdef642ce - Support staging
- Convert to new OPTIONS framework
- Rename test target to regression-test in order for tinderbox to run target
  automatically
2014-02-06 10:18:10 +00:00

32 lines
677 B
Makefile

# 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>