aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-Flat/Makefile
blob: 61a18f6450c9c0c944fe75c2eef53e4ba14f5a86 (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
36
37
38
39
# New ports collection makefile for:    File-Flat
# Date created:    11 December 2002
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   File-Flat
PORTVERSION=    0.95
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Implements a flat filesystem

BUILD_DEPENDS=  ${SITE_PERL}/Class/Autouse.pm:${PORTSDIR}/devel/p5-Class-Autouse \
        ${SITE_PERL}/Class/Inspector.pm:${PORTSDIR}/devel/p5-Class-Inspector \
        ${SITE_PERL}/File/Remove.pm:${PORTSDIR}/devel/p5-File-Remove \
        ${SITE_PERL}/File/Slurp.pm:${PORTSDIR}/devel/p5-File-Slurp \
        ${SITE_PERL}/File/NCopy.pm:${PORTSDIR}/devel/p5-File-NCopy \
        ${SITE_PERL}/prefork.pm:${PORTSDIR}/devel/p5-prefork
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       File::Flat.3

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

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.endif

.include <bsd.port.post.mk>