summaryrefslogtreecommitdiffstats
path: root/sysutils/ascpu/Makefile
blob: 72eabec48635a4ff5fe02aef1c9b61c657321b16 (plain)
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
# New ports collection makefile for:	ascpu
# Date created:         18 February 1999
# Whom:                 Dima Sivachenko <dima@chg.ru>
#
# $FreeBSD$
#

PORTNAME=	ascpu
PORTVERSION=	1.9
CATEGORIES=	sysutils afterstep
MASTER_SITES=	http://www.tigr.net/afterstep/download/ascpu/

MAINTAINER=	demon@FreeBSD.org
COMMENT=	CPU statistics monitor utility for XFree86

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg

USE_X_PREFIX=	yes
USE_XPM=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-xpm
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV=	EXTRA_LIBRARIES="-L${LOCALBASE}/lib"

MAN1=		ascpu.1
PLIST_FILES=	bin/ascpu

do-install:
	@ ${INSTALL_MAN} ${WRKSRC}/ascpu.man ${PREFIX}/man/man1/ascpu.1
	@ ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g kmem -m 2755 ${WRKSRC}/ascpu ${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud