blob: 81c5053f989c14b3e8d802f224222066a99556e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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
MAN1= pm.1 powerman.1
MAN3= libpowerman.3
MAN5= powerman.conf.5 powerman.dev.5
MAN8= httppower.8 plmpower.8 powermand.8 vpcd.8
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>
|