summaryrefslogtreecommitdiff
path: root/time/p5-Time-HiRes/Makefile
blob: 764ce6796cc2c9a5305a368cb68dca822fdb524f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.13 2004/01/05 22:16:25 jlam Exp $
#

DISTNAME=		Time-HiRes-1.52
PKGNAME=		p5-${DISTNAME}
PKGREVISION=		1
SVR4_PKGNAME=		p5thr
CATEGORIES=		devel perl5
MASTER_SITES=		${MASTER_SITE_PERL_CPAN:=Time/}

MAINTAINER=		bad@NetBSD.org
HOMEPAGE=		http://search.cpan.org/author/JHI/Time-HiRes/
COMMENT=		Perl5 module for high resolution time, sleep, and alarm

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_BUILDLINK3=		YES

PERL5_CONFIGURE=	YES
PERL5_PACKLIST=		${PERL5_SITEARCH}/auto/Time/HiRes/.packlist

pre-configure:
	@ # On Solaris link against librt to pull in nanosleep
	@ ${ECHO} "\$$self->{LIBS} = ['-lrt'];" >> ${WRKSRC}/hints/solaris.pl

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"