# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $ PortSystem 1.0 name tinyca2 version 0.7.3 categories security net maintainers landonf@macports.org 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://tinyca.sm-zone.net/ master_sites ${homepage} checksums md5 0eead00edf55df82c7874a2e477dc46c depends_lib port:openssl port:zip \ port:gettext port:p5-gtk2 \ port:p5-locale-gettext patchfiles patch-tinyca2 use_configure no 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/perl|g ${worksrcpath}/tinyca2 } 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} } }