blob: a494ec7895bc8d69e69b8a8c85352a92ce172f84 (
plain) (
tree)
|
|
# Created by: Greg Lewis <glewis@FreeBSD.org>
# $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 <bsd.port.mk>
|