aboutsummaryrefslogtreecommitdiff
path: root/sysutils/wmmemfree/Makefile
blob: 7e63ae984e95e7a6c38ad68642e0dde4f9ef8d51 (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
# New ports collection makefile for:	wmmemfree
# Date created:				29 Mar 2003
# Whom:					Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#

PORTNAME=	wmmemfree
PORTVERSION=	0.7
CATEGORIES=	sysutils windowmaker
MASTER_SITES=	http://ibiblio.org/pub/linux/X11/xutils/ \
		ftp://ftp.ibiblio.org/pub/linux/X11/xutils/

MAINTAINER=	danfe@regency.nsu.ru
COMMENT=	Memory and swap monitoring dockapp

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_XPM=	yes

MAN1=		${PORTNAME}.1
PLIST_FILES=	bin/wmmemfree

post-patch:
	@${CP} ${FILESDIR}/mem_freebsd.* ${WRKSRC}

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
	@${CHMOD} g+s ${PREFIX}/bin/${PORTNAME}
	@${CHOWN} root:kmem ${PREFIX}/bin/${PORTNAME}
	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>