mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
34 lines
709 B
Makefile
34 lines
709 B
Makefile
# 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>
|