2012-11-27 01:27:56 +01:00
|
|
|
# Created by: Greg Lewis <glewis@FreeBSD.org>
|
2004-06-17 18:14:13 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= powerman
|
2015-04-12 11:23:44 +02:00
|
|
|
PORTVERSION= 2.3.20
|
2015-07-31 21:40:03 +02:00
|
|
|
PORTREVISION= 2
|
2004-07-20 19:15:22 +02:00
|
|
|
CATEGORIES= sysutils parallel
|
2015-04-12 11:23:44 +02:00
|
|
|
MASTER_SITES= https://github.com/chaos/powerman/releases/download/${PORTVERSION}/
|
2004-06-17 18:14:13 +02:00
|
|
|
|
2007-04-04 05:31:05 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-05-27 18:48:01 +02:00
|
|
|
COMMENT= Tool for doing remote power control
|
2004-06-17 18:14:13 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-07-13 20:47:51 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-08-02 18:27:06 +02:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
2004-06-17 18:14:13 +02:00
|
|
|
|
2015-07-13 20:47:51 +02:00
|
|
|
USES= libtool perl5 shebangfix
|
|
|
|
SHEBANG_FILES= heartbeat/powerman
|
2013-08-03 15:44:00 +02:00
|
|
|
USE_PERL5= build
|
2009-02-16 14:25:42 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2015-04-12 11:23:44 +02:00
|
|
|
CONFIGURE_ARGS= --with-httppower --localstatedir=/var \
|
2009-02-16 14:25:42 +01:00
|
|
|
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig
|
|
|
|
USE_LDCONFIG= yes
|
2015-04-12 11:23:44 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2004-06-17 18:14:13 +02:00
|
|
|
|
2012-08-06 01:19:36 +02:00
|
|
|
USE_RC_SUBR= powerman
|
2004-06-17 18:14:13 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2011-08-26 06:29:08 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^install-data-am/s|:.*|:|' ${WRKSRC}/scripts/Makefile.in
|
|
|
|
|
2004-06-17 18:14:13 +02:00
|
|
|
.include <bsd.port.mk>
|