move WANTLIB to LIB_DEPENDS and avoid RUN/BUILD_DEPENDS, use TEST_POD

This commit is contained in:
steven 2007-07-27 20:31:44 +00:00
parent 333267e0c1
commit 232a6338f8

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/17 23:45:48 simon Exp $
# $OpenBSD: Makefile,v 1.2 2007/07/27 20:31:44 steven Exp $
COMMENT= interface to libstatgrab system statistics library
SHARED_ONLY= Yes
MODULES= cpan
DISTNAME= Unix-Statgrab-0.04
CATEGORIES= sysutils perl5
PKGNAME= p5-${DISTNAME}p0
CATEGORIES= sysutils
MAINTAINER= William Yodlowsky <bsd@openbsd.rutgers.edu>
@ -14,14 +15,12 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= statgrab
RUN_DEPENDS= ::sysutils/libstatgrab
BUILD_DEPENDS= ${RUN_DEPENDS}
REGRESS_DEPENDS=::devel/p5-Test-Pod \
::devel/p5-Test-Pod-Coverage
LIB_DEPENDS= statgrab::sysutils/libstatgrab
CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lstatgrab"
MAKE_ENV+= TEST_POD=1
.include <bsd.port.mk>