867c78fefa
Make dependencies on modules included in the perl 5.8 distribution conditional on the perl version installed. While I'm here, remove SITE_PERL and MAN(3)PREFIX. These patches only include unmaintained ports. PR: ports/50589 Submitted by: Erwin Lansing <erwin@lansing.dk>
30 lines
690 B
Makefile
30 lines
690 B
Makefile
# New ports collection makefile for: File-Cache
|
|
# Date created: Mon Jan 1 11:28:15 2001
|
|
# Whom: will
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= File-Cache
|
|
PORTVERSION= 0.16
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= File
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Perl module implementing a persistent object store
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= File::Cache.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
|
|
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|