# $Id: Portfile 81069 2011-07-24 21:11:14Z snc@macports.org $ PortSystem 1.0 name raptor2 version 2.0.3 revision 2 set major [lindex [split ${version} .] 0] description Raptor RDF Parser Toolkit long_description Raptor is an open source C library that provides a set of \ parsers and serializers that generate Resource Description \ Framework (RDF) triples by parsing syntaxes or serializing \ the triples into a syntax. maintainers nomaintainer categories www platforms darwin homepage http://librdf.org/raptor/ master_sites http://download.librdf.org/source/ checksums sha1 996f532b059397f96a9b0cc231f6b2362f0b1184 \ rmd160 bffa247579c17948c08c94423b568353ae8b5338 patchfiles patch-src-raptor.h.diff \ patch-src-turtle_lexer.c.diff \ patch-src-turtle_lexer.h.diff \ patch-src-turtle_lexer.l.diff patch.pre_args -p1 depends_lib port:curl \ port:libiconv \ port:libxml2 \ port:libxslt \ port:openssl \ port:zlib configure.args --program-suffix=${major} post-destroot { # Why are you appending the program suffix to the library manpage... move ${destroot}${prefix}/share/man/man3/lib${name}${major}.3 ${destroot}${prefix}/share/man/man3/lib${name}.3 move ${destroot}${prefix}/share/gtk-doc/html/raptor ${destroot}${prefix}/share/gtk-doc/html/${name} } test.run yes test.target check livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"