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

PORTNAME=   ascpu
PORTVERSION=    1.11
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-includes=${X11BASE}/include --with-xpm-library=${X11BASE}/lib
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>