[153291] trunk/dports/net/ipcalc/Portfile

mf2k at macports.org mf2k at macports.org
Wed Sep 28 06:02:53 PDT 2016


Revision: 153291
          https://trac.macports.org/changeset/153291
Author:   mf2k at macports.org
Date:     2016-09-28 06:02:53 -0700 (Wed, 28 Sep 2016)
Log Message:
-----------
ipcalc: Use perl 5.24. Add maintainer. whitespace. (#52309)

Modified Paths:
--------------
    trunk/dports/net/ipcalc/Portfile

Modified: trunk/dports/net/ipcalc/Portfile
===================================================================
--- trunk/dports/net/ipcalc/Portfile	2016-09-28 12:28:02 UTC (rev 153290)
+++ trunk/dports/net/ipcalc/Portfile	2016-09-28 13:02:53 UTC (rev 153291)
@@ -1,39 +1,43 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
+PortGroup           perl5 1.0
 
-name			ipcalc
-version			0.41
-categories		net
-license			GPL-2+
-platforms		darwin
-maintainers		nomaintainer
-supported_archs	noarch
+name                ipcalc
+version             0.41
+revision            1
+categories          net
+license             GPL-2+
+platforms           darwin
+supported_archs     noarch
+maintainers         gmail.com:xeron.oskom openmaintainer
 
-description		calculates various network masks etc. from given ip-address
-long_description	ipcalc takes an IP address and netmask and calculates the \
-				resulting broadcast, network, Cisco wildcard mask, and host \
-				range. By giving a second netmask, you can design sub- and \
-				supernetworks. It is also intended to be a teaching tool and \
-				presents the results as easy-to-understand binary values.
+description         calculates various network masks etc. from given ip-address
+long_description    ipcalc takes an IP address and netmask and calculates the \
+                    resulting broadcast, network, Cisco wildcard mask, and host \
+                    range. By giving a second netmask, you can design sub- and \
+                    supernetworks. It is also intended to be a teaching tool and \
+                    presents the results as easy-to-understand binary values.
 
-homepage		http://jodies.de/ipcalc/
-master_sites	http://jodies.de/ipcalc-archive/
-checksums		md5     fb791e9a5220fc8e624d915e18fc4697 \
-				sha1    b75b498f2fa5ecfa30707a51da63c6a5775829f3 \
-				rmd160  aaa21c1804d7498e2604c907a336c20dc9b4511d
+homepage            http://jodies.de/ipcalc/
+master_sites        http://jodies.de/ipcalc-archive/
 
-depends_run		path:bin/perl:perl5
+checksums           rmd160  aaa21c1804d7498e2604c907a336c20dc9b4511d \
+                    sha256  dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a
 
-configure	{
-	reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" ${worksrcpath}/ipcalc
+perl5.branches      5.24
+
+depends_lib         port:perl${perl5.major}
+
+configure {
+    reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" ${worksrcpath}/ipcalc
 }
 
-build			{}
+build {}
 
-destroot	{
-	xinstall -m 755 ${worksrcpath}/ipcalc ${destroot}${prefix}/bin
-	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 ${worksrcpath}/changelog \
-		${destroot}${prefix}/share/doc/${name}
+destroot {
+    xinstall -m 755 ${worksrcpath}/ipcalc ${destroot}${prefix}/bin
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 ${worksrcpath}/changelog \
+        ${destroot}${prefix}/share/doc/${name}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160928/614a166f/attachment.html>


More information about the macports-changes mailing list