[134007] trunk/dports/devel

blair at macports.org blair at macports.org
Mon Mar 16 18:26:48 PDT 2015


Revision: 134007
          https://trac.macports.org/changeset/134007
Author:   blair at macports.org
Date:     2015-03-16 18:26:48 -0700 (Mon, 16 Mar 2015)
Log Message:
-----------
protobuf3-cpp: new port for protobuf version 3.

Modified Paths:
--------------
    trunk/dports/devel/protobuf3-cpp/Portfile

Added Paths:
-----------
    trunk/dports/devel/protobuf3-cpp/

Modified: trunk/dports/devel/protobuf3-cpp/Portfile
===================================================================
--- trunk/dports/devel/protobuf-cpp/Portfile	2015-03-17 01:10:00 UTC (rev 134006)
+++ trunk/dports/devel/protobuf3-cpp/Portfile	2015-03-17 01:26:48 UTC (rev 134007)
@@ -4,12 +4,14 @@
 PortSystem 1.0
 PortGroup  github 1.0
 
-name            protobuf-cpp
-version         2.6.1
+name            protobuf3-cpp
+version         0.0.0.1
+set real_version 3.0.0-alpha-1
 categories      devel
 maintainers     blair
 license         BSD
 description     Encode data in an efficient yet extensible format.
+conflicts       protobuf-cpp
 
 long_description \
                 Google Protocol Buffers are a flexible, efficient, \
@@ -28,16 +30,16 @@
                 logical record of information, containing a series of \
                 name-value pairs.
 
-github.setup    google protobuf ${version} v
+github.setup    google protobuf-cpp ${real_version} v
 github.tarball_from releases
+version         0.0.0.1 # remove this version leaving the above one
 homepage        https://github.com/google/protobuf
-master_sites    https://github.com/google/protobuf/releases/download/v${version}
-distfiles       protobuf-${version}.tar.bz2
-worksrcdir      protobuf-${version}
+master_sites    https://github.com/google/protobuf/releases/download/v${real_version}
+distfiles       protobuf-cpp-${real_version}.tar.gz
+worksrcdir      protobuf-${real_version}
 
-use_bzip2       yes
-checksums       sha1   6421ee86d8fb4e39f21f56991daa892a3e8d314b \
-                sha256 ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910
+checksums       sha1   5cf937727a90b09e79921944cfcdbd310a5a0234 \
+                sha256 ece45f4957140edc9517c3e03ca5509f70847d576ca5ae267fa0a8ee20ee1c85
 
 platforms       darwin
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150316/e916c63b/attachment-0001.html>


More information about the macports-changes mailing list