summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-20 18:02:13 +0000
committerpav <pav@FreeBSD.org>2005-07-20 18:02:13 +0000
commit73cebf96a950d8e7d49df88073427a715bc3ca60 (patch)
treea30710fa12b0252f09b0ba2cc390f5c2d14039f5
parent5e68ebc05a86f2f4257a235d99ce1dd7a291bf97 (diff)
downloadFreeBSD-ports-73cebf96a950d8e7d49df88073427a715bc3ca60.zip
FreeBSD-ports-73cebf96a950d8e7d49df88073427a715bc3ca60.tar.gz
- Update to 2.1.3
- Install documentation PR: ports/83793 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
-rw-r--r--textproc/py-rdflib/Makefile16
-rw-r--r--textproc/py-rdflib/distinfo4
2 files changed, 13 insertions, 7 deletions
diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index 3516a42..f2062c5 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -7,22 +7,28 @@
#
PORTNAME= rdflib
-PORTVERSION= 2.0.4
+PORTVERSION= 2.1.3
CATEGORIES= textproc python
-MASTER_SITES= http://rdflib.net/2004/10/14/
+MASTER_SITES= http://rdflib.net/2005/06/28/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A Python library for RDF manipulation
-USE_PYTHON= yes
+USE_PYTHON= 2.2+
USE_PYDISTUTILS= yes
post-install:
- @${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} ! -type d | \
+ @${FIND} ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type d | ${SORT} -r | \
+ @${FIND} ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+ @${FIND} ${DOCSDIR} ! -type d | ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${ECHO} "@dirrm ${DOCSDIR:S,${PREFIX}/,,}" >> ${TMPPLIST}
+.endif
.include <bsd.port.mk>
diff --git a/textproc/py-rdflib/distinfo b/textproc/py-rdflib/distinfo
index 29b1c3e..f1b5cf6 100644
--- a/textproc/py-rdflib/distinfo
+++ b/textproc/py-rdflib/distinfo
@@ -1,2 +1,2 @@
-MD5 (rdflib-2.0.4.tgz) = b7dfafb76e385b8b7169a02f0e5761f8
-SIZE (rdflib-2.0.4.tgz) = 41585
+MD5 (rdflib-2.1.3.tgz) = e127f71c65c9800edd57facaeb441d65
+SIZE (rdflib-2.1.3.tgz) = 415430
OpenPOWER on IntegriCloud