freebsd-ports/devel/p5-File-Flat/Makefile

40 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: File-Flat
# Date created: 11 December 2002
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= File-Flat
2004-11-14 14:02:32 +01:00
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 \
2004-08-11 16:16:37 +02:00
${SITE_PERL}/File/Slurp.pm:${PORTSDIR}/devel/p5-File-Slurp \
2004-11-14 14:02:32 +01:00
${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
2004-11-14 14:02:32 +01:00
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>