summaryrefslogtreecommitdiff
path: root/sysutils/disktool/Makefile
blob: 24fbff13da1bbbf54de4a839d61d7e1adb77be92 (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
# Created by: Serge Gagnon <gagnon__s@videotron.ca>
# $FreeBSD$

PORTNAME=	disktool
PORTVERSION=	2.0
PORTREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	http://ftp.auxio.org/pub/mirrors/step.polymtl.ca/pub/Xview/apps/disktool/
DISTNAME=	disktool-2.0c

MAINTAINER=	cy@FreeBSD.org
COMMENT=	XView sysadmin tool for monitoring diskfull situations

LIB_DEPENDS=	xview.3:${PORTSDIR}/x11-toolkits/xview

WRKSRC=		${WRKDIR}/${DISTNAME}

ALL_TARGET=	disktool

MAN1=		disktool.1
PLIST_FILES=	bin/disktool

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/disktool ${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/disktool.man \
	${PREFIX}/man/man1/disktool.1

.include <bsd.port.mk>