[151792] trunk/dports/devel

blair at macports.org blair at macports.org
Sun Aug 21 22:31:16 PDT 2016


Revision: 151792
          https://trac.macports.org/changeset/151792
Author:   blair at macports.org
Date:     2016-08-21 22:31:16 -0700 (Sun, 21 Aug 2016)
Log Message:
-----------
protobuf3-{cpp,java}: simplified, curtesy of ryandesign at .

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

Modified: trunk/dports/devel/protobuf3-cpp/Portfile
===================================================================
--- trunk/dports/devel/protobuf3-cpp/Portfile	2016-08-22 03:48:27 UTC (rev 151791)
+++ trunk/dports/devel/protobuf3-cpp/Portfile	2016-08-22 05:31:16 UTC (rev 151792)
@@ -4,8 +4,8 @@
 PortSystem 1.0
 PortGroup  github 1.0
 
+github.setup    google protobuf 3.0.0 v
 name            protobuf3-cpp
-version         3.0.0
 categories      devel
 maintainers     blair
 license         BSD
@@ -29,11 +29,8 @@
                 logical record of information, containing a series of \
                 name-value pairs.
 
-github.setup    google protobuf-cpp ${version} v
 github.tarball_from releases
-homepage        https://github.com/google/protobuf
-master_sites    https://github.com/google/protobuf/releases/download/v${version}
-distfiles       protobuf-cpp-${version}.tar.gz
+distname        protobuf-cpp-${version}
 worksrcdir      protobuf-${version}
 
 pre-fetch {

Modified: trunk/dports/devel/protobuf3-java/Portfile
===================================================================
--- trunk/dports/devel/protobuf3-java/Portfile	2016-08-22 03:48:27 UTC (rev 151791)
+++ trunk/dports/devel/protobuf3-java/Portfile	2016-08-22 05:31:16 UTC (rev 151792)
@@ -3,8 +3,8 @@
 PortSystem      1.0
 PortGroup	github 1.0
 
+github.setup    google protobuf 3.0.0 v
 name            protobuf3-java
-version         3.0.0
 categories      devel
 maintainers     blair
 license         BSD
@@ -28,11 +28,8 @@
                 logical record of information, containing a series of \
                 name-value pairs.
 
-github.setup    google protobuf-java ${version} v
 github.tarball_from releases
-homepage        https://github.com/google/protobuf
-master_sites    https://github.com/google/protobuf/releases/download/v${version}
-distfiles       protobuf-java-${version}.tar.gz
+distname        protobuf-java-${version}
 worksrcdir      protobuf-${version}/java
 
 checksums       sha1   bbb5bbed9e0fde6dc72a0d55e359ad81030420a8 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160821/723ff8b6/attachment.html>


More information about the macports-changes mailing list