Date: Mon, 21 Jul 2008 04:57:20 +0300 (EEST) From: pesho.petrov@gmail.com To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/125817: New port: net/protobuf Message-ID: <20080721015720.6ACB823C78@debian.fmi.uni-sofia.bg> Resent-Message-ID: <200807210230.m6L2U2Qi053687@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125817 >Category: ports >Synopsis: New port: net/protobuf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 21 02:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Petar Zhivkov Petrov >Release: FreeBSD 7.0-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD mira 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Tue Jan 15 08:28:29 PST 2008 root@mira:/usr/obj/usr/src/sys/MIRA amd64 >Description: Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. >How-To-Repeat: >Fix: --- net-protobuf.shar begins here --- # 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: # # protobuf # protobuf/Makefile # protobuf/pkg-descr # protobuf/distinfo # protobuf/pkg-plist # echo c - protobuf mkdir -p protobuf > /dev/null 2>&1 echo x - protobuf/Makefile sed 's/^X//' >protobuf/Makefile << 'END-of-protobuf/Makefile' X# New ports collection makefile for: protobuf X# Date created: 20 July 2008 X# Whom: Petar Zhivkov Petrov (pesho.petrov@gmail.com) X# X# $FreeBSD: $ X# X XPORTNAME= protobuf XDISTVERSION= 2.0.0beta XCATEGORIES= net XMASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} X XMAINTAINER= pesho.petrov@gmail.com XCOMMENT= Protocol Buffers provide a way to efficiently encode data X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_LDCONFIG= yes X XOPTIONS= PYTHON "Install Python API" on XUSE_PYTHON= 2.4+ X X.include <bsd.port.pre.mk> X X.if defined(WITH_PYTHON) XPYEASYINSTALL_CMD?= ${LOCALBASE}/bin/easy_install-${PYTHON_VER} XBUILD_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools XRUN_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools XPYEASYINSTALL_BINDIR?= ${PREFIX}/bin XPYEASYINSTALL_SITELIBDIR?= ${PYTHONPREFIX_SITELIBDIR} XPYEASYINSTALL_UNINSTALLARGS?= -q -m -S ${PYTHON_SITELIBDIR} \ X -d ${PYEASYINSTALL_SITELIBDIR} \ X -s ${PYEASYINSTALL_BINDIR} \ X ${PORTNAME}==${DISTVERSION} XPLIST_SUB+= PORTVERSION=${DISTVERSION} \ X PYTHONVERSION=${_PYTHON_VERSION} \ X WITH_PYTHON="" X.include "${PORTSDIR}/Mk/bsd.python.mk" X.else XPLIST_SUB+= WITH_PYTHON="@comment " X.endif X Xpost-build: X.if defined(WITH_PYTHON) X cd ${WRKSRC}/python && ${PYTHON_CMD} ${PYSETUP} build X.endif X Xpost-install: X.if defined(WITH_PYTHON) X cd ${WRKSRC}/python && ${PYTHON_CMD} ${PYSETUP} install --prefix=${PREFIX} X.endif X Xadd-plist-post: X.if defined(WITH_PYTHON) X @${CAT} ${TMPPLIST} > ${TMPPLIST}.pei_tmp X @${ECHO_CMD} "@unexec ${PYEASYINSTALL_CMD} ${PYEASYINSTALL_UNINSTALLARGS}" \ X > ${TMPPLIST} X @${CAT} ${TMPPLIST}.pei_tmp >> ${TMPPLIST} X @${ECHO_CMD} "@exec ${SETENV} PYTHONPATH=${PYEASYINSTALL_SITELIBDIR} \ X ${PYEASYINSTALL_CMD} ${PYEASYINSTALL_INSTALLARGS}" \ X >> ${TMPPLIST} X.endif X X.include <bsd.port.post.mk> END-of-protobuf/Makefile echo x - protobuf/pkg-descr sed 's/^X//' >protobuf/pkg-descr << 'END-of-protobuf/pkg-descr' XProtocol Buffers are a way of encoding structured data in an efficient yet Xextensible format. Google uses Protocol Buffers for almost all of its internal XRPC protocols and file formats. X XWWW: http://code.google.com/p/protobuf END-of-protobuf/pkg-descr echo x - protobuf/distinfo sed 's/^X//' >protobuf/distinfo << 'END-of-protobuf/distinfo' XMD5 (protobuf-2.0.0beta.tar.gz) = 51b216b891f0bd74d8f785dfbf0cc0de XSHA256 (protobuf-2.0.0beta.tar.gz) = 940dca4f91d0a3c84a741287ba4682f966bc8fd9a770f2c287c2824589086afb XSIZE (protobuf-2.0.0beta.tar.gz) = 943330 END-of-protobuf/distinfo echo x - protobuf/pkg-plist sed 's/^X//' >protobuf/pkg-plist << 'END-of-protobuf/pkg-plist' X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/protobuf-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg Xbin/protoc Xinclude/google/protobuf/compiler/code_generator.h Xinclude/google/protobuf/compiler/command_line_interface.h Xinclude/google/protobuf/compiler/cpp/cpp_generator.h Xinclude/google/protobuf/compiler/importer.h Xinclude/google/protobuf/compiler/java/java_generator.h Xinclude/google/protobuf/compiler/parser.h Xinclude/google/protobuf/compiler/python/python_generator.h Xinclude/google/protobuf/descriptor.h Xinclude/google/protobuf/descriptor.pb.h Xinclude/google/protobuf/descriptor.proto Xinclude/google/protobuf/descriptor_database.h Xinclude/google/protobuf/dynamic_message.h Xinclude/google/protobuf/extension_set.h Xinclude/google/protobuf/generated_message_reflection.h Xinclude/google/protobuf/io/coded_stream.h Xinclude/google/protobuf/io/printer.h Xinclude/google/protobuf/io/tokenizer.h Xinclude/google/protobuf/io/zero_copy_stream.h Xinclude/google/protobuf/io/zero_copy_stream_impl.h Xinclude/google/protobuf/message.h Xinclude/google/protobuf/reflection_ops.h Xinclude/google/protobuf/repeated_field.h Xinclude/google/protobuf/service.h Xinclude/google/protobuf/stubs/common.h Xinclude/google/protobuf/text_format.h Xinclude/google/protobuf/unknown_field_set.h Xinclude/google/protobuf/wire_format.h Xinclude/google/protobuf/wire_format_inl.h Xlib/libprotobuf.a Xlib/libprotobuf.la Xlib/libprotobuf.so Xlib/libprotobuf.so.0 Xlib/libprotoc.a Xlib/libprotoc.la Xlib/libprotoc.so Xlib/libprotoc.so.0 X@dirrm include/google/protobuf/stubs X@dirrm include/google/protobuf/io X@dirrm include/google/protobuf/compiler/python X@dirrm include/google/protobuf/compiler/java X@dirrm include/google/protobuf/compiler/cpp X@dirrm include/google/protobuf/compiler X@dirrm include/google/protobuf X@dirrm include/google END-of-protobuf/pkg-plist exit --- net-protobuf.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080721015720.6ACB823C78>