aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Alzabo-GUI-Mason/Makefile
blob: c0e0599e19a5fc9578fccd0859ab3ac01a0da858 (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
# New ports collection makefile for:    p5-Alzabo-GUI-Mason
# Date created:             13 Oct 2004
# Whom:                     mat
#
# $FreeBSD$
#

PORTNAME=   Alzabo-GUI-Mason
PORTVERSION=    0.12.01
DISTVERSION=    ${PORTVERSION:C/\.(..)$/\1/}
CATEGORIES= devel databases perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    A GUI for Alzabo using Mason

BUILD_DEPENDS=  p5-Alzabo>=0:${PORTSDIR}/devel/p5-Alzabo \
        p5-HTML-Mason>=0:${PORTSDIR}/www/p5-HTML-Mason \
        p5-HTTP-BrowserDetect>=0:${PORTSDIR}/www/p5-HTTP-BrowserDetect
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_MODBUILD=  yes
CONFIGURE_ENV=  DATADIR=${DATADIR}
MAKE_ENV=   WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

MAN3=       Alzabo::GUI::Mason.3 Alzabo::GUI::Mason::Config.3

.if !defined(NOPORTDOCS)
PORTDOCS=   Changes README

post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

pre-install:
    @${MKDIR} ${DATADIR}

.include <bsd.port.mk>