Skip to content
Permalink
Browse files

new port

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3990 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 19, 2003
1 parent 8fc0b47 commit 3f7de0609f49eb7a6a185ca0f55a34e8023ad9b3
Showing with 39 additions and 0 deletions.
  1. +39 −0 python/py-rdflib/Portfile
@@ -0,0 +1,39 @@
# $Id: Portfile,v 1.1 2003/11/19 14:31:37 mww Exp $

PortSystem 1.0

name py-rdflib
version 1.2.4
categories python
maintainers mww@opendarwin.org
description python library for working with RDF
long_description RDFLib is a Python library for working with RDF, a \
simple yet powerful language for representing information.

homepage http://rdflib.net/
master_sites ${homepage}/2003/03/05/
distname rdflib-${version}
checksums md5 32b361bc4b4ad01c773f7e83fb5a52a6
extract.suffix .tgz

depends_lib bin:python:python

use_configure no

build.cmd python setup.py
build.target build

test {
system "cd ${worksrcpath} && python test/triple_store.py"
}

destroot.cmd python setup.py
destroot.destdir --prefix=${destroot}${prefix}

post-destroot {
file mkdir ${destroot}${prefix}/share/doc/
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/CHANGELOG ${worksrcpath}/CONTRIBUTORS \
${worksrcpath}/LICENSE ${worksrcpath}/credits.html \
${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
}

0 comments on commit 3f7de06

Please sign in to comment.
You can’t perform that action at this time.