Revision: 144320 https://trac.macports.org/changeset/144320 Author: mojca@macports.org Date: 2016-01-06 07:43:18 -0800 (Wed, 06 Jan 2016) Log Message: ----------- tinyca2: whitespace only Modified Paths: -------------- trunk/dports/security/tinyca2/Portfile Modified: trunk/dports/security/tinyca2/Portfile =================================================================== --- trunk/dports/security/tinyca2/Portfile 2016-01-06 15:40:29 UTC (rev 144319) +++ trunk/dports/security/tinyca2/Portfile 2016-01-06 15:43:18 UTC (rev 144320) @@ -1,56 +1,57 @@ +# -*- 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 tinyca2 -version 0.7.5 -revision 3 -license GPL -categories security net -maintainers nomaintainer -description GUI Certificate Authority tool. -long_description TinyCA is a simple graphical user interface for \ - managing a small CA (Certification Authority). \ - TinyCA works as a frontend for openssl. -platforms darwin -homepage http://www.wikipedia.org/wiki/TinyCA -master_sites macports_distfiles:${name} -checksums md5 d3b547305e89785fbe8262be244a2321 \ - sha1 841355ab8478a7e7b1a3d6bba4dd31293ae11cc4 -depends_lib path:lib/libssl.dylib:openssl port:zip \ - port:gettext port:p5.16-gtk2 \ - port:p5.16-locale-gettext +name tinyca2 +version 0.7.5 +revision 3 +license GPL +categories security net +maintainers nomaintainer +description GUI Certificate Authority tool. +long_description TinyCA is a simple graphical user interface for \ + managing a small CA (Certification Authority). \ + TinyCA works as a frontend for openssl. +platforms darwin +homepage http://www.wikipedia.org/wiki/TinyCA +master_sites macports_distfiles:${name} +checksums rmd160 db384b635030164b0c32a4a814c170002105a375 \ + sha256 4227af38fee310741da29ff0681bba55f547548d98b6a5e61b3f768588de47dd +depends_lib path:lib/libssl.dylib:openssl port:zip \ + port:gettext port:p5.16-gtk2 \ + port:p5.16-locale-gettext -patchfiles patch-tinyca2 +patchfiles patch-tinyca2 -use_configure no +use_configure no -build.dir ${worksrcpath}/po -build.target "" +build.dir ${worksrcpath}/po +build.target "" post-patch { - reinplace s|@SHARE@|${prefix}/share|g ${worksrcpath}/tinyca2 - reinplace s|@OPENSSL@|${prefix}/bin/openssl|g ${worksrcpath}/tinyca2 - reinplace s|@ZIP@|${prefix}/bin/zip|g ${worksrcpath}/tinyca2 - reinplace s|@TAR@|/usr/bin/tar|g ${worksrcpath}/tinyca2 - reinplace s|/usr/bin/perl|${prefix}/bin/perl5.16|g ${worksrcpath}/tinyca2 + reinplace s|@SHARE@|${prefix}/share|g ${worksrcpath}/tinyca2 + reinplace s|@OPENSSL@|${prefix}/bin/openssl|g ${worksrcpath}/tinyca2 + reinplace s|@ZIP@|${prefix}/bin/zip|g ${worksrcpath}/tinyca2 + reinplace s|@TAR@|/usr/bin/tar|g ${worksrcpath}/tinyca2 + reinplace s|/usr/bin/perl|${prefix}/bin/perl5.16|g ${worksrcpath}/tinyca2 } pre-build { - # Ensure that the .mo files are generated - system "touch ${worksrcpath}/po/*.po" + # Ensure that the .mo files are generated + system "touch ${worksrcpath}/po/*.po" } destroot { - set sharedir ${destroot}${prefix}/share/tinyca2 - file mkdir ${sharedir} - file copy -force ${worksrcpath}/tinyca2 ${destroot}${prefix}/bin/ - file copy -force ${worksrcpath}/lib ${sharedir} - file copy -force ${worksrcpath}/templates ${sharedir} - file copy -force ${worksrcpath}/locale/ ${destroot}${prefix}/share/locale - foreach file [exec find ${destroot}${prefix} -name CVS -type d] { - file delete -force ${file} - } + set sharedir ${destroot}${prefix}/share/tinyca2 + file mkdir ${sharedir} + file copy -force ${worksrcpath}/tinyca2 ${destroot}${prefix}/bin/ + file copy -force ${worksrcpath}/lib ${sharedir} + file copy -force ${worksrcpath}/templates ${sharedir} + file copy -force ${worksrcpath}/locale/ ${destroot}${prefix}/share/locale + foreach file [exec find ${destroot}${prefix} -name CVS -type d] { + file delete -force ${file} + } } # no longer maintained upstream, only mirrored by macports -livecheck.type none +livecheck.type none