# Created by: Greg Lewis # $FreeBSD$ PORTNAME= powerman PORTVERSION= 2.3.16 PORTREVISION= 1 CATEGORIES= sysutils parallel MASTER_SITES= GOOGLE_CODE MAINTAINER= ports@FreeBSD.org COMMENT= Tool for doing remote power control LICENSE= GPLv2 # (or later) LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl USES= perl5 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-httppower --localstatedir=${DESTDIR}/var \ --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig USE_LDCONFIG= yes USE_RC_SUBR= powerman CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e \ '/^install-data-am/s|:.*|:|' ${WRKSRC}/scripts/Makefile.in .include