aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Unix-Statgrab/Makefile
blob: 3a363367ad5eca19347eb99c3ae77134996f4a38 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:	p5-Unix-Statgrab
# Date created:				June 20th, 2004
# Whom:					Tim Bishop <tim@bishnet.net>
#
# $FreeBSD$
#

PORTNAME=	Unix-Statgrab
PORTVERSION=	0.04
PORTREVISION=	1
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Unix
PKGNAMEPREFIX=	p5-

MAINTAINER=	tdb@FreeBSD.org
COMMENT=	Perl extension for collecting information about the machine

LIB_DEPENDS=	statgrab.8:${PORTSDIR}/devel/libstatgrab

USE_GNOME=	pkgconfig

PERL_CONFIGURE=	yes
CONFIGURE_ARGS+=	INC="`pkg-config libstatgrab --cflags`" \
			LIBS="`pkg-config libstatgrab --libs`"

MAN3=		Unix::Statgrab.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
	@${PERL} -i -pe 's/}\(/}->(/' ${WRKSRC}/lib/Unix/Statgrab.pm
.endif

.include <bsd.port.post.mk>