aboutsummaryrefslogtreecommitdiff
path: root/sysutils/wmbattery/Makefile
blob: ff74a40aca424e1be2b3f7416564b5831883c558 (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
# New ports collection makefile for:	wmbattery
# Date created:		18 Sep 1999
# Whom:			Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=	wmbattery
PORTVERSION=	1.11
CATEGORIES=	sysutils windowmaker
MASTER_SITES=	http://kitenet.net/programs/code/wmbattery/
DISTNAME=	${PORTNAME}

MAINTAINER=	will@FreeBSD.org

LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm

USE_X_PREFIX=	yes

USE_GMAKE=	YES
MAKE_ENV=	PREFIX="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
		INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
ALL_TARGET=	wmbattery
MAN1=		wmbattery.1

# install additional docs
.if !defined(NOPORTDOCS)
post-install:
.for i in COPYING INSTALL README TODO
	@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/wmbattery
.endfor
.endif

.include <bsd.port.mk>