aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-Clean2/Makefile
blob: b6feb723e365a0972f27a71689355a9cb6ba137a (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
# Created by: Martin Matuska <martin@matuska.org>
# $FreeBSD$

PORTNAME=   Apache-Clean
PORTVERSION=    2.00
PORTREVISION=   2
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= Apache/GEOFF
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION}_7

MAINTAINER= perl@FreeBSD.org
COMMENT=    Mod_perl interface into HTML::Clean

BUILD_DEPENDS=  ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2 \
        p5-HTML-Clean>=0.8:${PORTSDIR}/www/p5-HTML-Clean

LATEST_LINK=    ${PKGNAMEPREFIX}${PORTNAME}2

USES=       perl5
USE_PERL5=  configure
USE_APACHE= 22+

MAN3=       Apache::Clean.3
DOCSDIR=    ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

NO_STAGE=   yes
post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>