freebsd-ports/devel/p5-IPC-Cache/Makefile
Edwin Groothuis 867c78fefa iconditionalize dependencies on modules included in perl 5.8
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>
2003-05-09 01:20:36 +00:00

32 lines
878 B
Makefile

# New ports collection makefile for: p5-IPC-Cache
# Date created: April 03 2001
# Whom: vanilla
#
# $FreeBSD$
#
PORTNAME= IPC-Cache
PORTVERSION= 0.02
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IPC
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Persist data across processes via shared memory
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= IPC::Cache.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
.endif
.include <bsd.port.post.mk>