[143312] trunk/dports/security/makepasswd/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 09:27:14 PST 2015


Revision: 143312
          https://trac.macports.org/changeset/143312
Author:   mojca at macports.org
Date:     2015-12-10 13:22:38 -0800 (Thu, 10 Dec 2015)
Log Message:
-----------
makepasswd: whitespace and first line only

Modified Paths:
--------------
    trunk/dports/security/makepasswd/Portfile

Modified: trunk/dports/security/makepasswd/Portfile
===================================================================
--- trunk/dports/security/makepasswd/Portfile	2015-12-10 20:24:43 UTC (rev 143311)
+++ trunk/dports/security/makepasswd/Portfile	2015-12-10 21:22:38 UTC (rev 143312)
@@ -1,48 +1,50 @@
+# -*- 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
+PortSystem          1.0
 
-name              makepasswd
-version           1.10-3
-revision          2
-categories        security
-license           GPL-2
-platforms         darwin
-maintainers       nomaintainer
-description       generate and encrypt passwords
-long_description  A port of Rob Levin's makepasswd tool.
-homepage          http://packages.debian.org/stable/source/makepasswd
-master_sites      http://ftp.debian.org/debian/pool/main/m/makepasswd/
-patch_sites       http://macports.quay.net/sources/security/makepasswd/files/
+name                makepasswd
+version             1.10-3
+revision            2
+categories          security
+license             GPL-2
+platforms           darwin
+maintainers         nomaintainer
+description         generate and encrypt passwords
+long_description    A port of Rob Levin's makepasswd tool.
+homepage            http://packages.debian.org/stable/source/makepasswd
+master_sites        http://ftp.debian.org/debian/pool/main/m/makepasswd/
+patch_sites         http://macports.quay.net/sources/security/makepasswd/files/
 
-distfiles         ${name}_${version}_all.deb
+distfiles           ${name}_${version}_all.deb
 
-patchfiles        patch-makepasswd.diff
+patchfiles          patch-makepasswd.diff
 
-checksums         ${name}_${version}_all.deb \
-                  sha1 6f89e016f52e43068f6feb2bda5f8a8c475a3ef5 \
-                  patch-makepasswd.diff \
-                  sha1 58b6d05b1da01ae75cb04fadd27aa6902fe9d403
+checksums           ${name}_${version}_all.deb \
+                    sha1 6f89e016f52e43068f6feb2bda5f8a8c475a3ef5 \
+                    patch-makepasswd.diff \
+                    sha1 58b6d05b1da01ae75cb04fadd27aa6902fe9d403
 
-depends_lib       port:p5.16-crypt-passwdmd5
+depends_lib         port:p5.16-crypt-passwdmd5
 
-extract.cmd       ar
-extract.pre_args  -x
-extract.post_args data.tar.gz && mkdir ${worksrcpath} && \
-                  tar -C ${worksrcpath} -xzf data.tar.gz
+extract.cmd         ar
+extract.pre_args    -x
+extract.post_args   data.tar.gz && mkdir ${worksrcpath} && \
+                    tar -C ${worksrcpath} -xzf data.tar.gz
 
-use_configure     no
-post-configure    {
-                  reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
-                  "${worksrcpath}/usr/bin/makepasswd"
-                  }
+use_configure       no
 
-build             {}
+post-configure {
+    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
+              "${worksrcpath}/usr/bin/makepasswd"
+}
 
-destroot	{
-		xinstall -m 0755 ${worksrcpath}/usr/bin/makepasswd \
-		${destroot}${prefix}/bin/makepasswd
-		xinstall -m 0644 \
-		${worksrcpath}/usr/share/man/man1/makepasswd.1.gz \
-		${destroot}${prefix}/share/man/man1/makepasswd.1.gz
+build {}
+
+destroot {
+    xinstall -m 0755 ${worksrcpath}/usr/bin/makepasswd \
+        ${destroot}${prefix}/bin/makepasswd
+    xinstall -m 0644 \
+        ${worksrcpath}/usr/share/man/man1/makepasswd.1.gz \
+        ${destroot}${prefix}/share/man/man1/makepasswd.1.gz
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/e4454eaa/attachment-0001.html>


More information about the macports-changes mailing list