aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-openxpki-client-html-mason/Makefile
blob: cfaa9f3a9aa49a2ba5a2a55ca7888ccfbb9e6932 (plain) (blame)
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
44
45
46
47
# New ports collection makefile for:    p5-openxpki-client-html-mason
# Date created:             03 Oct 2006
# Whom:                 svysh
#
# $FreeBSD$
#

PORTNAME=   openxpki-client-html-mason
PORTVERSION=    0.9.725
CATEGORIES= security perl5
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= openxpki
PKGNAMEPREFIX=  p5-
DISTNAME=   OpenXPKI-Client-HTML-Mason-${PORTVERSION}
DIST_SUBDIR=    openxpki

MAINTAINER= svysh@cryptocom.ru
COMMENT=    Web interface for local openxpki daemon

BUILD_DEPENDS=  \
    ${SITE_PERL}/OpenXPKI/Client.pm:${PORTSDIR}/security/p5-openxpki-client \
    ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason
RUN_DEPENDS=    ${BUILD_DEPENDS}

MAN3=   OpenXPKI::Client::HTML::Mason.3 \
    OpenXPKI::Client::HTML::Mason::Javascript.3 \
    OpenXPKI::Client::HTML::Mason::Menu.3
USE_PERL5=  yes
USE_GMAKE=  yes
PERL_CONFIGURE= yes

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${EXAMPLESDIR}
    @${CP} -R ${WRKSRC}/eg ${EXAMPLESDIR}/
    @${MKDIR} ${DATADIR}
    @${CP} -R ${WRKSRC}/bin ${DATADIR}/
    @${CP} -R ${WRKSRC}/htdocs ${DATADIR}/
    @${ECHO_MSG} ""
    @${ECHO_MSG} "================================ Information ==================================="
    @${ECHO_MSG} "===> Examples of simple Mason configuration via httpd.conf directives installed in ${EXAMPLESDIR}."
    @${ECHO_MSG} "===> CGI scripts and htdocs for ${DISTNAME} installed in ${DATADIR}."
    @${ECHO_MSG} "================================================================================"
    @${ECHO_MSG} ""
.endif

.include <bsd.port.mk>