2003-10-01 16:07:03 +02:00
|
|
|
# New ports collection makefile for: p5-Apache-Compress
|
|
|
|
# Date created: Sep 09 2003
|
2007-04-05 15:19:09 +02:00
|
|
|
# Whom: Martin Matuska <mm@FreeBSD.org>
|
2003-10-01 16:07:03 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Apache-Compress
|
2005-06-23 16:12:56 +02:00
|
|
|
PORTVERSION= 1.005
|
2010-09-21 09:56:43 +02:00
|
|
|
PORTREVISION= 1
|
2003-10-01 16:07:03 +02:00
|
|
|
CATEGORIES= www perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2003-10-01 16:07:03 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2007-04-05 15:19:09 +02:00
|
|
|
MAINTAINER= mm@FreeBSD.org
|
2003-10-01 16:07:03 +02:00
|
|
|
COMMENT= Auto-compress web files with Gzip
|
|
|
|
|
2010-09-21 09:56:43 +02:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache.pm:${PORTSDIR}/www/mod_perl
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache.pm:${PORTSDIR}/www/mod_perl
|
2003-10-01 16:07:03 +02:00
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= Apache::Compress.3
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
|
2010-09-21 09:56:43 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500903
|
|
|
|
RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
|
|
|
|
BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
|
|
|
|
.endif
|
|
|
|
|
2003-10-01 16:07:03 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-06-23 16:12:56 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Changes ${DOCSDIR}
|
2003-10-01 16:07:03 +02:00
|
|
|
.endif
|
|
|
|
|
2010-09-21 09:56:43 +02:00
|
|
|
.include <bsd.port.post.mk>
|