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

PORTNAME=   Apache-Clean
PORTVERSION=    2.00
DISTVERSIONSUFFIX=  _7
PORTREVISION=   3
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= Apache/GEOFF
PKGNAMEPREFIX=  p5-

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
RUN_DEPENDS:=   ${BUILD_DEPENDS}

LATEST_LINK=    ${PKGNAMEPREFIX}${PORTNAME}2

USES=       perl5
USE_PERL5=  configure
USE_APACHE= 22+

DOCSDIR=    ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

OPTIONS_DEFINE= DOCS

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>