aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-Temp/Makefile
blob: d132e2e32198216fc5eb30aa26707fff0faa9226 (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
# New ports collection makefile for:    p5-File-Temp
# Date created:     13 March 2001
# Whom:             Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#

PORTNAME=   File-Temp
PORTVERSION=    0.16
PORTREVISION=   0
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX=  p5-

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Perl5 module to generate temporary files or directories safely

BUILD_DEPENDS=  ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
CONFIGURE_ARGS= INSTALLDIRS=site

MAN3=       File::Temp.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS+=   ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
.if ${PERL_LEVEL} > 500800
IGNORE=     "This module is already included in perl 5.8.x and later."
.endif

.include <bsd.port.post.mk>