freebsd-ports/devel/p5-Unix-Statgrab/Makefile
Kirill Ponomarev d122f9de9f Update to 0.02
PR:		ports/68236
Submitted by:	maintainer
2004-06-23 12:21:12 +00:00

35 lines
783 B
Makefile

# 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.02
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Unix
PKGNAMEPREFIX= p5-
MAINTAINER= tim@bishnet.net
COMMENT= Perl extension for collecting information about the machine
LIB_DEPENDS= statgrab.5:${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>