aboutsummaryrefslogtreecommitdiff
path: root/devel/py-parsing
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2005-07-18 00:42:54 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2005-07-18 00:42:54 +0000
commit1d16cbc914f866a61d251f972cbec979b877288c (patch)
tree7e7305b478b1ebeedaa1a99c1479a431feddf37a /devel/py-parsing
parentfe677572c8efd491cfd543c461554587c9e13d54 (diff)
downloadports-1d16cbc914f866a61d251f972cbec979b877288c.tar.gz
ports-1d16cbc914f866a61d251f972cbec979b877288c.zip
Notes
Diffstat (limited to 'devel/py-parsing')
-rw-r--r--devel/py-parsing/Makefile14
-rw-r--r--devel/py-parsing/distinfo4
-rw-r--r--devel/py-parsing/pkg-plist76
3 files changed, 90 insertions, 4 deletions
diff --git a/devel/py-parsing/Makefile b/devel/py-parsing/Makefile
index 0468b4d9ea9f..89a16fc62cfd 100644
--- a/devel/py-parsing/Makefile
+++ b/devel/py-parsing/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= parsing
-PORTVERSION= 1.2.2
+PORTVERSION= 1.3.1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyparsing
@@ -16,7 +16,17 @@ DISTNAME= pyparsing-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= General parsing module for Python
-USE_PYTHON= yes
+USE_PYTHON= 2.3+
USE_PYDISTUTILS=yes
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/htmldoc/* ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/py-parsing/distinfo b/devel/py-parsing/distinfo
index 41e1239bfe55..906afe18073b 100644
--- a/devel/py-parsing/distinfo
+++ b/devel/py-parsing/distinfo
@@ -1,2 +1,2 @@
-MD5 (pyparsing-1.2.2.tar.gz) = 700967c4c78e171783fae1073f74ea8d
-SIZE (pyparsing-1.2.2.tar.gz) = 232727
+MD5 (pyparsing-1.3.1.tar.gz) = a5db965fbd7ac1b4e4abdbf364287778
+SIZE (pyparsing-1.3.1.tar.gz) = 327647
diff --git a/devel/py-parsing/pkg-plist b/devel/py-parsing/pkg-plist
index b73019e8f2c3..81adf13e8050 100644
--- a/devel/py-parsing/pkg-plist
+++ b/devel/py-parsing/pkg-plist
@@ -1,3 +1,79 @@
%%PYTHON_SITELIBDIR%%/pyparsing.py
%%PYTHON_SITELIBDIR%%/pyparsing.pyc
%%PYTHON_SITELIBDIR%%/pyparsing.pyo
+%%PORTDOCS%%%%DOCSDIR%%/__builtin__.object-class.html
+%%PORTDOCS%%%%DOCSDIR%%/__builtin__.type-class.html
+%%PORTDOCS%%%%DOCSDIR%%/epydoc.css
+%%PORTDOCS%%%%DOCSDIR%%/exceptions.Exception-class.html
+%%PORTDOCS%%%%DOCSDIR%%/frames.html
+%%PORTDOCS%%%%DOCSDIR%%/help.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/indices.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing-module.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.And-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.CaselessLiteral-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.CharsNotIn-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Combine-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Dict-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Empty-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.FollowedBy-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Forward-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.GoToColumn-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Group-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Keyword-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.LineEnd-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.LineStart-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Literal-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.MatchFirst-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.NoMatch-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.NotAny-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.OneOrMore-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Optional-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Or-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.ParseBaseException-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.ParseElementEnhance-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.ParseException-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.ParseExpression-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.ParseFatalException-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.ParseResults-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.ParserElement-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.PositionToken-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.RecursiveGrammarException-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.SkipTo-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.StringEnd-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.StringStart-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Suppress-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Token-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.TokenConverter-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Upcase-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.White-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.Word-class.html
+%%PORTDOCS%%%%DOCSDIR%%/pyparsing.ZeroOrMore-class.html
+%%PORTDOCS%%%%DOCSDIR%%/toc-everything.html
+%%PORTDOCS%%%%DOCSDIR%%/toc-pyparsing-module.html
+%%PORTDOCS%%%%DOCSDIR%%/toc.html
+%%PORTDOCS%%%%DOCSDIR%%/trees.html
+%%PORTDOCS%%%%EXAMPLESDIR%%/AcManForm.dfm
+%%PORTDOCS%%%%EXAMPLESDIR%%/SimpleCalc.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/SingleForm.dfm
+%%PORTDOCS%%%%EXAMPLESDIR%%/chemicalFormulas.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/commasep.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/configParse.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/dfmparse.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/dictExample.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/dictExample2.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebnf.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebnftest.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/fourFn.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/getNTPservers.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/greeting.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/httpServerLogParser.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/idlParse.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/mozilla.ics
+%%PORTDOCS%%%%EXAMPLESDIR%%/mozillaCalendarParser.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/pgn.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/scanExamples.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/simpleSQL.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/urlExtractor.py
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%