source: trunk/dports/security/tinyca2/Portfile @ 23053

Last change on this file since 23053 was 23053, checked in by pipping@…, 13 years ago

clean up portfiles:

  • replace "portversion" with "version"
  • replace "portname" with "name"
  • replace "configure {}" with "use_configure no"
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
2PortSystem      1.0
3
4name                    tinyca2
5version                 0.7.3
6categories              security net
7maintainers             landonf@macports.org
8description             GUI Certificate Authority tool.
9long_description        TinyCA is a simple graphical user interface for \
10                        managing a small CA (Certification Authority). \
11                        TinyCA works as a frontend for openssl.
12platforms               darwin
13homepage                http://tinyca.sm-zone.net/
14master_sites            ${homepage}
15checksums               md5 0eead00edf55df82c7874a2e477dc46c
16depends_lib             port:openssl port:zip \
17                        port:gettext port:p5-gtk2 \
18                        port:p5-locale-gettext
19
20patchfiles              patch-tinyca2
21
22use_configure           no
23
24build.dir               ${worksrcpath}/po
25build.target            ""
26
27post-patch {
28        reinplace s|@SHARE@|${prefix}/share|g ${worksrcpath}/tinyca2
29        reinplace s|@OPENSSL@|${prefix}/bin/openssl|g ${worksrcpath}/tinyca2
30        reinplace s|@ZIP@|${prefix}/bin/zip|g ${worksrcpath}/tinyca2
31        reinplace s|@TAR@|/usr/bin/tar|g ${worksrcpath}/tinyca2
32        reinplace s|/usr/bin/perl|${prefix}/bin/perl|g ${worksrcpath}/tinyca2
33}
34
35destroot {
36        set sharedir ${destroot}${prefix}/share/tinyca2
37        file mkdir ${sharedir}
38        file copy -force ${worksrcpath}/tinyca2 ${destroot}${prefix}/bin/
39        file copy -force ${worksrcpath}/lib ${sharedir}
40        file copy -force ${worksrcpath}/templates ${sharedir}
41        file copy -force ${worksrcpath}/locale/ ${destroot}${prefix}/share/locale
42        foreach file [exec find ${destroot}${prefix} -name CVS -type d] {
43                file delete -force ${file}
44        }
45}
Note: See TracBrowser for help on using the repository browser.