# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # serd # serd/distinfo # serd/Makefile # serd/pkg-descr # serd/pkg-plist # serd/files # serd/files/patch-wscript # echo c - serd mkdir -p serd > /dev/null 2>&1 echo x - serd/distinfo sed 's/^X//' >serd/distinfo << 'bd50052917ee8e19752a883e394f33f9' XSHA256 (serd-0.22.0.tar.bz2) = 7b030287b4b75f35e6212b145648bec0be6580cc5434caa6d2fe64a38562afd2 XSIZE (serd-0.22.0.tar.bz2) = 340371 bd50052917ee8e19752a883e394f33f9 echo x - serd/Makefile sed 's/^X//' >serd/Makefile << '35ab3aab51cb2e1e97ea59d26486d25c' X# $FreeBSD$ X XPORTNAME= serd XPORTVERSION= 0.22.0 XCATEGORIES= textproc XMASTER_SITES= https://download.drobilla.net/ X XMAINTAINER= uddka@student.kit.edu XCOMMENT= Lightweight RDF syntax library X XLICENSE= ISCL XLICENSE_FILE= ${WRKSRC}/COPYING X XUSES= pkgconfig tar:bz2 waf XUSE_LDCONFIG= yes X XCONFIGURE_ARGS+= --mandir=${PREFIX}/man X XOPTIONS_DEFINE= UTILS XOPTIONS_DEFAULT= UTILS XOPTIONS_SUB= yes X XUTILS_DESC= Build and/or install command line utilities XUTILS_CONFIGURE_OFF= --no-utils X Xpost-build: X @(cd ${WRKSRC} && ${SED} -e \ X 's|@PREFIX@|${PREFIX}| ; \ X s|@EXEC_PREFIX@|$${prefix}| ; \ X s|@LIBDIR@|$${exec_prefix}/lib| ; \ X s|@INCLUDEDIR@|$${prefix}/include| ; \ X s|@SERD_VERSION@|${PORTVERSION}| ; \ X s|@LIB_SERD@|${PORTNAME}-${PORTVERSION:R:R}| ; \ X s|@SERD_MAJOR_VERSION@|${PORTVERSION:R:R}|' < serd.pc.in > build/serd-${PORTVERSION:R:R}.pc) X Xpost-install-UTILS-on: X @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/serdi X Xpost-install: X @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libserd-${PORTVERSION:R:R}.so.${PORTVERSION} X ${INSTALL_DATA} ${WRKSRC}/build/serd-${PORTVERSION:R:R}.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig X X.include 35ab3aab51cb2e1e97ea59d26486d25c echo x - serd/pkg-descr sed 's/^X//' >serd/pkg-descr << 'e1d95c037c326e1e4b6a93b51c502b48' XSerd is a lightweight C library for RDF syntax which supports reading and Xwriting Turtle and NTriples. Serd is not intended to be a swiss-army knife of XRDF syntax, but rather is suited to resource limited or performance critical Xapplications (e.g. converting many gigabytes of NTriples to Turtle), or Xsituations where a simple reader/writer with minimal dependencies is ideal X(e.g. in LV2 implementations or embedded applications). X XWWW: https://drobilla.net/software/serd/ e1d95c037c326e1e4b6a93b51c502b48 echo x - serd/pkg-plist sed 's/^X//' >serd/pkg-plist << '3678c27284810aaddaf820b27bd9d75c' X%%UTILS%%bin/serdi Xinclude/serd-0/serd/serd.h Xlib/libserd-0.so Xlib/libserd-0.so.0 Xlib/libserd-0.so.0.22.0 Xlibdata/pkgconfig/serd-0.pc X%%UTILS%%man/man1/serdi.1.gz 3678c27284810aaddaf820b27bd9d75c echo c - serd/files mkdir -p serd/files > /dev/null 2>&1 echo x - serd/files/patch-wscript sed 's/^X//' >serd/files/patch-wscript << 'ba81be4e6c01794e721f10c8a4fe85af' X--- wscript.orig 2015-10-08 19:34:01 UTC X+++ wscript X@@ -109,8 +109,8 @@ def build(bld): X bld.install_files(includedir, bld.path.ant_glob('serd/*.h')) X X # Pkgconfig file X- autowaf.build_pc(bld, 'SERD', SERD_VERSION, SERD_MAJOR_VERSION, [], X- {'SERD_MAJOR_VERSION' : SERD_MAJOR_VERSION}) X+ # autowaf.build_pc(bld, 'SERD', SERD_VERSION, SERD_MAJOR_VERSION, [], X+ # {'SERD_MAJOR_VERSION' : SERD_MAJOR_VERSION}) X X libflags = ['-fvisibility=hidden'] X libs = ['m'] ba81be4e6c01794e721f10c8a4fe85af exit