aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-openxpki-client-html-mason/Makefile
blob: 495566cf63875441404bdd6201dcb7789d82f122 (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
48
49
50
51
52
53
# 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.876
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@pn.sinp.msu.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 \
    ${SITE_PERL}/Data/SpreadPagination.pm:${PORTSDIR}/textproc/p5-Data-SpreadPagination
RUN_DEPENDS=    ${BUILD_DEPENDS}

MAN3=   OpenXPKI::Client::HTML::Mason.3 \
    OpenXPKI::Client::HTML::Mason::CRR.3 \
    OpenXPKI::Client::HTML::Mason::Config.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} ""
.if !defined(BATCH)
    @sleep 7
.endif
.endif

.include <bsd.port.mk>