blob: ab65d1e65db3be674b5ca73f1fa3129c35d8a558 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= tinyca
PORTVERSION= 0.7.6
PORTREVISION= 2
CATEGORIES= security net
MASTER_SITES= http://opsec.eu/src/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple graphical interface to manage a small Certification Authority
LICENSE= GPLv2+
RUN_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
p5-Locale-gettext>=0:devel/p5-Locale-gettext \
zip:archivers/zip
USES= perl5 tar:xz shebangfix ssl
SHEBANG_FILES= tinyca2
NO_BUILD= yes
NO_ARCH= yes
DOC_FILES= INSTALL
LIB_FILES= CA.pm CERT.pm GUI.pm HELPERS.pm KEY.pm OpenSSL.pm REQ.pm TCONFIG.pm
LIB2_FILES= CALLBACK.pm HELPERS.pm TCONFIG.pm WORDS.pm X509_browser.pm X509_infobox.pm
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/GUI
${INSTALL_DATA} ${LIB_FILES:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
${INSTALL_DATA} ${LIB2_FILES:S|^|${WRKSRC}/lib/GUI/|} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/GUI
${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf ${STAGEDIR}${PREFIX}/etc/tinyca.cnf.sample
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
-e "s:%%SITE_PERL%%:${PREFIX}/${SITE_PERL_REL}:g" \
-e "s:%%OPENSSLBASE%%:${OPENSSLBASE}:g" \
${WRKSRC}/tinyca2 >${WRKSRC}/tinyca.new
${INSTALL_SCRIPT} ${WRKSRC}/tinyca.new ${STAGEDIR}${PREFIX}/bin/tinyca
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|