aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/wmbattery/Makefile
blob: d127ed30b328de52913d2717b15e593a8b8e208e (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
# Version required: 1.9
# Date created:     18 Sep 1999
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

DISTNAME=   wmbattery
PKGNAME=    ${DISTNAME}-1.9
CATEGORIES= sysutils
MASTER_SITES=   http://kitenet.net/programs/code/wmbattery/

MAINTAINER= andrews@technologist.com

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>