2003-09-01 15:34:31 +02:00
|
|
|
# New ports collection makefile for: p5-Games-Bingo
|
|
|
|
# Date created: 14. August 2003
|
|
|
|
# Whom: Lars Thegler <lars@thegler.dk>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Games-Bingo
|
2004-02-01 14:51:18 +01:00
|
|
|
PORTVERSION= 0.12
|
2003-09-01 15:34:31 +02:00
|
|
|
CATEGORIES= games perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Games
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2004-06-01 14:32:33 +02:00
|
|
|
MAINTAINER= lth@FreeBSD.org
|
2003-09-01 15:34:31 +02:00
|
|
|
COMMENT= A bingo game Perl implementation
|
|
|
|
|
2004-01-31 14:34:51 +01:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2003-09-01 15:34:31 +02:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= Games::Bingo.3 \
|
|
|
|
Games::Bingo::Card.3 \
|
|
|
|
Games::Bingo::Column.3 \
|
2004-01-10 05:34:37 +01:00
|
|
|
Games::Bingo::ColumnCollection.3 \
|
|
|
|
Games::Bingo::Constants.3
|
2003-09-01 15:34:31 +02:00
|
|
|
|
2004-01-24 15:55:49 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
|
|
# damn old MakeMaker...
|
|
|
|
post-configure:
|
|
|
|
${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
|
|
|
|
.endif
|
|
|
|
|
2003-09-01 15:34:31 +02:00
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Installing example for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/bingo.pl ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2004-01-24 15:55:49 +01:00
|
|
|
.include <bsd.port.post.mk>
|