freebsd-ports/sysutils/powerman/Makefile
Tijl Coosemans 3cb491a56c - New LIB_DEPENDS syntax
- Add USES=libtool
2014-07-05 15:16:09 +00:00

33 lines
723 B
Makefile

# Created by: Greg Lewis <glewis@FreeBSD.org>
# $FreeBSD$
PORTNAME= powerman
PORTVERSION= 2.3.16
PORTREVISION= 2
CATEGORIES= sysutils parallel
MASTER_SITES= GOOGLE_CODE
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=${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>