freebsd-ports/devel/p5-Thread-Suspend/Makefile
Wesley Shields a00474e753 This module adds suspend and resume operations for threads.
Suspensions are cumulative, and need to be matched by an equal number of
resume calls.

PR:		ports/110476
Submitted by:	Ruben van Staveren <ruben@verweg.com>
2009-01-12 19:54:46 +00:00

38 lines
1 KiB
Makefile

# New ports collection makefile for: p5-Thread-Suspend
# Date created: 2007-03-18
# Whom: Ruben van Staveren
#
# $FreeBSD$
#
PORTNAME= Thread-Suspend
PORTVERSION= 1.19
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Thread
PKGNAMEPREFIX= p5-
MAINTAINER= ruben@verweg.com
COMMENT= Suspend and resume operations for threads
RUN_DEPENDS= p5-threads>=1.39:${PORTSDIR}/devel/p5-threads \
p5-threads-shared>=1.01:${PORTSDIR}/devel/p5-threads-shared
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Thread::Suspend.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again
.endif
pre-everything::
@${ECHO_MSG} "--------------------------------------------------------"
@${ECHO_MSG} "This module requires a threaded perl. If your install"
@${ECHO_MSG} "is not threaded please install lang/perl5.8 with threads"
@${ECHO_MSG} "--------------------------------------------------------"
.include <bsd.port.post.mk>