[131671] trunk/dports/perl/p5-net-dict/Portfile

mojca at macports.org mojca at macports.org
Thu Jan 15 06:27:10 PST 2015


Revision: 131671
          https://trac.macports.org/changeset/131671
Author:   mojca at macports.org
Date:     2015-01-15 06:27:10 -0800 (Thu, 15 Jan 2015)
Log Message:
-----------
p5-net-dict: first line, whitespace only

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

Modified: trunk/dports/perl/p5-net-dict/Portfile
===================================================================
--- trunk/dports/perl/p5-net-dict/Portfile	2015-01-15 14:14:16 UTC (rev 131670)
+++ trunk/dports/perl/p5-net-dict/Portfile	2015-01-15 14:27:10 UTC (rev 131671)
@@ -1,40 +1,45 @@
+# -*- 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
-PortGroup perl5 1.0
+PortSystem          1.0
+PortGroup           perl5 1.0
 
 perl5.branches      5.16 5.18 5.20
 perl5.setup         Net-Dict 2.18 ../../authors/id/N/NE/NEILB/
 maintainers         nomaintainer
 categories-append   textproc
 license             {Artistic-1 GPL}
+
 description         Simple client API for the DICT protocol
 long_description    Perl class implementing a simple client API for the \
                     DICT protocol defined in RFC2229
+
 checksums           md5     011f65906faf5823d7c4c9cf72e30e54 \
                     sha1    dc254980cddb58f25c56398a1ac0807d9a104995 \
                     rmd160  0b610ff42407c35d95695c23f16e33182b26cbba
+
 platforms           darwin
+supported_archs     noarch
+
 if {${perl5.major} != ""} {
-depends_lib-append  port:p${perl5.major}-appconfig-std
+    depends_lib-append \
+                    port:p${perl5.major}-appconfig-std
 
-supported_archs noarch
-
-# This variant avoids a conflict with the dict port, if one wishes to
-# install p5-net-dict together with the dict port. The end user can
-# later add symbolic links in /usr/local or in his home directory to
-# choose which dict program (and man page) he wishes to use. For this
-# reason, the dict documentation is not modified to reflect this new
-# program name.
-# Even though there is no filename conflict for the man page, it is
-# better to rename it too for consistency when running "man dict".
-# Even "man 1 dict" would select the dict.1pm version.
-variant dict_altname description {Avoid a conflict with the dict port} {
-    post-destroot {
-        set d ${destroot}${prefix}
-        set m ${d}/share/man/man1
-        file rename ${d}/bin/dict ${d}/bin/dict.perl
-        file rename ${m}/dict.1pm ${m}/dict.perl.1pm
+    # This variant avoids a conflict with the dict port, if one wishes to
+    # install p5-net-dict together with the dict port. The end user can
+    # later add symbolic links in /usr/local or in his home directory to
+    # choose which dict program (and man page) he wishes to use. For this
+    # reason, the dict documentation is not modified to reflect this new
+    # program name.
+    # Even though there is no filename conflict for the man page, it is
+    # better to rename it too for consistency when running "man dict".
+    # Even "man 1 dict" would select the dict.1pm version.
+    variant dict_altname description {Avoid a conflict with the dict port} {
+        post-destroot {
+            set d ${destroot}${prefix}
+            set m ${d}/share/man/man1
+            file rename ${d}/bin/dict ${d}/bin/dict.perl
+            file rename ${m}/dict.1pm ${m}/dict.perl.1pm
+        }
     }
 }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150115/3bce672c/attachment.html>


More information about the macports-changes mailing list