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

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

MAINTAINER=	ports@FreeBSD.org

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

WRKSRC=		${WRKDIR}/${PORTNAME}

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>