aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Autouse/Makefile
blob: 60169d9171d5a96bbfe65558219ef62e323529db (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
# New ports collection makefile for:    Class-Autouse
# Date created:    10 December 2002
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   Class-Autouse
PORTVERSION=    1.16
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Defer loading of one or more classes

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
        ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
        ${SITE_PERL}/prefork.pm:${PORTSDIR}/devel/p5-prefork
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Class::Autouse.3

post-patch:
    @${PERL} -pi -e 's/^auto_install.*$$//' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>