Files
ports/sysutils/powerman/Makefile
Antoine Brodin f0d0f3d8e0 Make ports using libtool treat elftoolchain's strip the same as GNU strip
Any strip on any FreeBSD version should be able to handle stripping requested
by libtool

PR:		198611
Reviewed by:	emaste
Exp-run:	self
2015-06-08 05:59:13 +00:00

34 lines
783 B
Makefile

# Created by: Greg Lewis <glewis@FreeBSD.org>
# $FreeBSD$
PORTNAME= powerman
PORTVERSION= 2.3.20
CATEGORIES= sysutils parallel
MASTER_SITES= https://github.com/chaos/powerman/releases/download/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for doing remote power control
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
USES= libtool perl5
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-httppower --localstatedir=/var \
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
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>