[138555] trunk/dports/perl/p5-net-oauth/Portfile

devans at macports.org devans at macports.org
Sun Jul 12 02:20:39 PDT 2015


Revision: 138555
          https://trac.macports.org/changeset/138555
Author:   devans at macports.org
Date:     2015-07-12 02:20:38 -0700 (Sun, 12 Jul 2015)
Log Message:
-----------
p5-net-oauth: use module build, add mode line, update and reformat dependencies, fix categories.

Modified Paths:
--------------
    trunk/dports/perl/p5-net-oauth/Portfile

Modified: trunk/dports/perl/p5-net-oauth/Portfile
===================================================================
--- trunk/dports/perl/p5-net-oauth/Portfile	2015-07-12 08:50:54 UTC (rev 138554)
+++ trunk/dports/perl/p5-net-oauth/Portfile	2015-07-12 09:20:38 UTC (rev 138555)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -3,9 +4,9 @@
 PortGroup           perl5 1.0
 
-categories          perl net
 license             {Artistic-1 GPL}
 platforms           darwin
 perl5.branches      5.16 5.18 5.20 5.22
 perl5.setup         Net-OAuth 0.28
+categories-append   net
 maintainers         nomaintainer
 supported_archs     noarch
@@ -18,11 +19,16 @@
                     rmd160  223a7bc41fc12c69cbd30305c2e48bbef4162c86
 
 if {${perl5.major} != ""} {
-depends_lib-append \
-  port:p${perl5.major}-digest-hmac \
-  port:p${perl5.major}-digest-sha1 \
-  port:p${perl5.major}-test-warn \
-  port:p${perl5.major}-uri \
-  port:p${perl5.major}-class-accessor \
-  port:p${perl5.major}-class-data-inheritable
+    depends_build-append \
+                    port:p${perl5.major}-test-warn
+
+    depends_lib-append \
+                    port:p${perl5.major}-class-accessor \
+                    port:p${perl5.major}-class-data-inheritable \
+                    port:p${perl5.major}-digest-hmac \
+                    port:p${perl5.major}-digest-sha1 \
+                    port:p${perl5.major}-libwww-perl \
+                    port:p${perl5.major}-uri
+
+    perl5.use_module_build
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150712/f0b0e47f/attachment.html>


More information about the macports-changes mailing list