aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-29 11:04:34 +0800
committerrafan <rafan@FreeBSD.org>2006-07-29 11:04:34 +0800
commit4f28ba72ab96918ab9e9964240d8aaaddf71574d (patch)
tree9fd26bd4aa27d9fed725c14df2a6f24e3e0aa5b9 /games
parenteb13871150cb441dcbae4a3646db39d34443e064 (diff)
downloadfreebsd-ports-gnome-4f28ba72ab96918ab9e9964240d8aaaddf71574d.tar.gz
freebsd-ports-gnome-4f28ba72ab96918ab9e9964240d8aaaddf71574d.tar.zst
freebsd-ports-gnome-4f28ba72ab96918ab9e9964240d8aaaddf71574d.zip
Add p5-Baseball-Sabermetrics 0.01, a Baseball Statistics Module.
PR: ports/100679 Submitted by: chinsan <chinsan.tw at gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/p5-Baseball-Sabermetrics/Makefile32
-rw-r--r--games/p5-Baseball-Sabermetrics/distinfo3
-rw-r--r--games/p5-Baseball-Sabermetrics/pkg-descr5
-rw-r--r--games/p5-Baseball-Sabermetrics/pkg-plist12
5 files changed, 53 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 9c9963101fae..dd1463fec3f0 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -478,6 +478,7 @@
SUBDIR += orbital_eunuchs_sniper
SUBDIR += p5-Algorithm-Pair-Best
SUBDIR += p5-Algorithm-Pair-Swiss
+ SUBDIR += p5-Baseball-Sabermetrics
SUBDIR += p5-Games-AlphaBeta
SUBDIR += p5-Games-Bingo
SUBDIR += p5-Games-Bingo-Bot
diff --git a/games/p5-Baseball-Sabermetrics/Makefile b/games/p5-Baseball-Sabermetrics/Makefile
new file mode 100644
index 000000000000..aef6e37069bb
--- /dev/null
+++ b/games/p5-Baseball-Sabermetrics/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: Baseball-Sabermetrics
+# Date created: 2006/07/21
+# Whom: chinsan <chinsan.tw@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Baseball-Sabermetrics
+PORTVERSION= 0.01
+CATEGORIES= games perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Baseball/VICTOR
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION}_01
+
+MAINTAINER= chinsan.tw@gmail.com
+COMMENT= A Baseball Statistics Module
+
+BUILD_DEPENDS= ${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Baseball::Sabermetrics.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/p5-Baseball-Sabermetrics/distinfo b/games/p5-Baseball-Sabermetrics/distinfo
new file mode 100644
index 000000000000..a80088faa97a
--- /dev/null
+++ b/games/p5-Baseball-Sabermetrics/distinfo
@@ -0,0 +1,3 @@
+MD5 (Baseball-Sabermetrics-0.01_01.tar.gz) = 3500e01efddf0103304d802b0c5fd095
+SHA256 (Baseball-Sabermetrics-0.01_01.tar.gz) = 994b203aa782c6fc6f19b4af38b60dbaa80cda7e649fd3dfe4fa58d1f8dc7a59
+SIZE (Baseball-Sabermetrics-0.01_01.tar.gz) = 24688
diff --git a/games/p5-Baseball-Sabermetrics/pkg-descr b/games/p5-Baseball-Sabermetrics/pkg-descr
new file mode 100644
index 000000000000..11c23aa18149
--- /dev/null
+++ b/games/p5-Baseball-Sabermetrics/pkg-descr
@@ -0,0 +1,5 @@
+Baseball::Sabermetrics provides an easy interface for calculating baseball
+statistics, given a data importer. In this package, I've writen CPBL.pm for
+(Chinese Professional Baseball League, http://www.cpbl.com.tw).
+
+WWW: http://search.cpan.org/dist/Baseball-Sabermetrics/
diff --git a/games/p5-Baseball-Sabermetrics/pkg-plist b/games/p5-Baseball-Sabermetrics/pkg-plist
new file mode 100644
index 000000000000..3ca8dcc66cfb
--- /dev/null
+++ b/games/p5-Baseball-Sabermetrics/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Baseball/Sabermetrics/.packlist
+%%SITE_PERL%%/Baseball/Sabermetrics.pm
+%%SITE_PERL%%/Baseball/Sabermetrics/Team.pm
+%%SITE_PERL%%/Baseball/Sabermetrics/abstract.pm
+%%SITE_PERL%%/Baseball/Sabermetrics/Player.pm
+%%SITE_PERL%%/Baseball/Sabermetrics/League/CPBL.pm
+%%SITE_PERL%%/Baseball/Sabermetrics/League/CPB2.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Baseball/Sabermetrics
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Baseball
+@dirrmtry %%SITE_PERL%%/Baseball/Sabermetrics/League
+@dirrmtry %%SITE_PERL%%/Baseball/Sabermetrics
+@dirrmtry %%SITE_PERL%%/Baseball