aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ascpu/Makefile
blob: 0943277d3e772222c8e2fbcc2e4c7976e9e2dc88 (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
# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$

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

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

USES=		jpeg
USE_XORG=	xpm
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-xpm-includes=${LOCALBASE}/include --with-xpm-library=${LOCALBASE}/lib
LDFLAGS+=	-L${LOCALBASE}/lib
MAKE_ENV=	EXTRA_LIBRARIES="-L${LOCALBASE}/lib"

PLIST_FILES=	"@(,kmem,2555) bin/ascpu" man/man1/ascpu.1.gz

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

.include <bsd.port.mk>