aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ascpu/Makefile
blob: a92b37f9ad933be5783464626f3f676188e9f5c3 (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
PORTNAME=	ascpu
PORTVERSION=	1.11
PORTREVISION=	7
CATEGORIES=	sysutils afterstep
MASTER_SITES=	http://www.tigr.net/afterstep/download/ascpu/

MAINTAINER=	demon@FreeBSD.org
COMMENT=	CPU statistics monitor utility for XFree86
WWW=		http://www.tigr.net/

USES=		jpeg xorg
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>