summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Mason/Makefile
blob: 5b2a74789a0fc1da1e279592288ec1b8160272fe (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
# $NetBSD: Makefile,v 1.29 2008/07/22 21:41:55 rhaen Exp $

DISTNAME=		HTML-Mason-1.39
PKGNAME=		p5-${DISTNAME}
SVR4_PKGNAME=	p5hma
CATEGORIES=		www perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=HTML/}

MAINTAINER=		rhaen@NetBSD.org
HOMEPAGE=		http://www.masonhq.com/
COMMENT=		Perl-based web site development and delivery system

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=		p5-Class-Container>=0.07:../../devel/p5-Class-Container
DEPENDS+=		p5-Exception-Class>=1.15:../../devel/p5-Exception-Class
DEPENDS+=		p5-Params-Validate>=0.70:../../devel/p5-Params-Validate

PERL5_MODULE_TYPE=	Module::Build
PERL5_PACKLIST=		auto/HTML/Mason/.packlist

EGDIR=			${PREFIX}/share/examples/${PKGBASE}

.include "options.mk"

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR:Q}${EGDIR:Q}
	${INSTALL_DATA} ${WRKSRC}/samples/README ${DESTDIR:Q}${EGDIR:Q}
	${INSTALL_DATA} ${WRKSRC}/samples/dump-request ${DESTDIR:Q}${EGDIR:Q}
	${INSTALL_DATA} ${WRKSRC}/samples/show-env ${DESTDIR:Q}${EGDIR:Q}
	${INSTALL_DATA} ${WRKSRC}/eg/httpd.conf ${DESTDIR:Q}${EGDIR:Q}
	${INSTALL_DATA_DIR} ${DESTDIR:Q}${EGDIR:Q}/MyApp
	${INSTALL_DATA} ${WRKSRC}/eg/MyApp/* ${DESTDIR:Q}${EGDIR:Q}/MyApp

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"