mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
Add p5-Chess-PGN-Parse 0.18, reads and parses PGN (Portable Game
Notation) Chess files. PR: ports/83958 Submitted by: Aaron Dalton <aaron@daltons.ca>
This commit is contained in:
parent
aa36052f1c
commit
4ef9c6add4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141555
@ -279,6 +279,7 @@
|
||||
SUBDIR += p5-Bloom-Filter
|
||||
SUBDIR += p5-CSS-SAC
|
||||
SUBDIR += p5-CSS-Tiny
|
||||
SUBDIR += p5-Chess-PGN-Parse
|
||||
SUBDIR += p5-Data-FormValidator
|
||||
SUBDIR += p5-DelimMatch
|
||||
SUBDIR += p5-Filter-Simple
|
||||
|
28
textproc/p5-Chess-PGN-Parse/Makefile
Normal file
28
textproc/p5-Chess-PGN-Parse/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# New ports collection makefile for: p5-Chess-PGN-Parse
|
||||
# Date created: 23 July 2005
|
||||
# Whom: Aaron Dalton <aaron@daltons.ca>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Chess-PGN-Parse
|
||||
PORTVERSION= 0.18
|
||||
CATEGORIES= textproc games perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= ../../authors/id/G/GM/GMAX
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= aaron@daltons.ca
|
||||
COMMENT= Reads and parses PGN (Portable Game Notation) Chess files
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Chess::PGN::Parse.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${PERL_LEVEL} < 500600)
|
||||
BROKEN= "Require perl 5.6 or high"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
textproc/p5-Chess-PGN-Parse/distinfo
Normal file
2
textproc/p5-Chess-PGN-Parse/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Chess-PGN-Parse-0.18.tar.gz) = 9c97380edd8f726719f0ae475c281b08
|
||||
SIZE (Chess-PGN-Parse-0.18.tar.gz) = 26356
|
24
textproc/p5-Chess-PGN-Parse/pkg-descr
Normal file
24
textproc/p5-Chess-PGN-Parse/pkg-descr
Normal file
@ -0,0 +1,24 @@
|
||||
Chess::PGN::Parse offers a range of methods to read and manipulate
|
||||
Portable Game Notation files. PGN files contain chess games produced by
|
||||
chess programs following a standard format
|
||||
(http://www.schachprobleme.de/chessml/faq/pgn/). It is among the preferred
|
||||
means of chess games distribution. Being a public, well established
|
||||
standard, PGN is understood by many chess archive programs. Parsing simple
|
||||
PGN files is not difficult. However, dealing with some of the intricacies
|
||||
of the Standard is less than trivial. This module offers a clean handle
|
||||
toward reading and parsing complex PGN files.
|
||||
|
||||
A PGN file has several tags, which are key/values pairs at the header of
|
||||
each game, in the format [key "value"]
|
||||
|
||||
After the header, the game follows. A string of numbered chess moves,
|
||||
optionally interrupted by braced comments and recursive parenthesized
|
||||
variants and comments. While dealing with simple braced comments is
|
||||
straightforward, parsing nested comments can give you more than a
|
||||
headache.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Chess-PGN-Parse
|
||||
Author: Giuseppe Maxia <gmax@cpan.org>
|
||||
|
||||
- Aaron Dalton
|
||||
aaron@daltons.ca
|
7
textproc/p5-Chess-PGN-Parse/pkg-plist
Normal file
7
textproc/p5-Chess-PGN-Parse/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
%%SITE_PERL%%/Chess/PGN/Parse.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Chess/PGN/Parse/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Chess/PGN/Parse
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Chess/PGN 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Chess 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Chess/PGN 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Chess 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user