18adf914ea
PR: 44720 Approved by: maintainer
36 lines
879 B
Makefile
36 lines
879 B
Makefile
# 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.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= File
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= wjv@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= File::Temp.3
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
|
|
|
PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|}
|
|
PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|}
|
|
|
|
.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
|
|
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
|
.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
|
|
|
|
.include <bsd.port.post.mk>
|