mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
35 lines
801 B
Makefile
35 lines
801 B
Makefile
# 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
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}2
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
USE_APACHE= 22+
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|