[123817] trunk/dports/net/rancid/Portfile
mojca at macports.org
mojca at macports.org
Thu Aug 14 14:58:21 PDT 2014
Revision: 123817
https://trac.macports.org/changeset/123817
Author: mojca at macports.org
Date: 2014-08-14 14:58:21 -0700 (Thu, 14 Aug 2014)
Log Message:
-----------
rancid: whitespace, checksums, status line, add variable perl_version
Modified Paths:
--------------
trunk/dports/net/rancid/Portfile
Modified: trunk/dports/net/rancid/Portfile
===================================================================
--- trunk/dports/net/rancid/Portfile 2014-08-14 21:53:23 UTC (rev 123816)
+++ trunk/dports/net/rancid/Portfile 2014-08-14 21:58:21 UTC (rev 123817)
@@ -1,44 +1,48 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name rancid
-version 2.3.8
-categories net
-license BSD-old
-maintainers markd openmaintainer
-platforms darwin
+name rancid
+version 2.3.8
+categories net
+license BSD-old
+maintainers markd openmaintainer
+platforms darwin
-description Really Awesome New Cisco confIg Differ
+description Really Awesome New Cisco confIg Differ
-long_description Rancid maintains a CVS repository of router and \
- device config files. It emails you when changes \
- occur and tells you what commands were changed.
+long_description Rancid maintains a CVS repository of router and \
+ device config files. It emails you when changes \
+ occur and tells you what commands were changed.
-homepage http://www.shrubbery.net/rancid
-master_sites ftp://ftp.shrubbery.net/pub/rancid/
-checksums md5 8cdfdfd8ab989e924dae2560d81457a0
+homepage http://www.shrubbery.net/rancid
+master_sites ftp://ftp.shrubbery.net/pub/rancid/
-depends_lib port:perl5.12 \
- port:openssl \
- port:p5.12-lockfile-simple
+checksums rmd160 6105398f85617bce2053d7219e7586c1b80b76ab \
+ sha256 44e44c87a22968d5229c01d60aa46960da023a24846eef43f9e3c8d70fd5b3fb
-patchfiles patch-etc-Makefile.in
+set perl_version 5.12
+depends_lib port:perl${perl_version} \
+ port:openssl \
+ port:p${perl_version}-lockfile-simple
+patchfiles patch-etc-Makefile.in
+
post-patch {
# Set path for lg.conf.sample so Looking Glass will work
- reinplace "s|@prefix@/bin|@prefix@/libexec/rancid:@prefix@/bin|g" \
- ${worksrcpath}/etc/lg.conf.sample.in
+ reinplace "s|@prefix@/bin|@prefix@/libexec/rancid:@prefix@/bin|g" \
+ ${worksrcpath}/etc/lg.conf.sample.in
}
-configure.args --localstatedir=${prefix}/var/${name} \
- --bindir=${prefix}/libexec/${name} \
- --sysconfdir=${prefix}/etc/${name} \
- --mandir=\\\${prefix}/share/man
+configure.args --localstatedir=${prefix}/var/${name} \
+ --bindir=${prefix}/libexec/${name} \
+ --sysconfdir=${prefix}/etc/${name} \
+ --mandir=\\\${prefix}/share/man
post-destroot {
- system "ln -s -f ${prefix}/libexec/${name}/rancid-cvs ${destroot}${prefix}/bin/rancid-cvs"
- system "ln -s -f ${prefix}/libexec/${name}/rancid-run ${destroot}${prefix}/bin/rancid-run"
+ system "ln -s -f ${prefix}/libexec/${name}/rancid-cvs ${destroot}${prefix}/bin/rancid-cvs"
+ system "ln -s -f ${prefix}/libexec/${name}/rancid-run ${destroot}${prefix}/bin/rancid-run"
}
notes "
@@ -88,6 +92,6 @@
3) Goto url http://localhost/lg with a web browser to use the looking glass.
"
-livecheck.type regex
-livecheck.url [lindex ${master_sites} 0]
-livecheck.regex ${name}-(\[0-9.\]+)\\.
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex ${name}-(\[0-9.\]+)\\.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140814/61ce1c6e/attachment-0001.html>
More information about the macports-changes
mailing list