aboutsummaryrefslogtreecommitdiffstats
path: root/net/slurm/Makefile
blob: 404c1cede359888f540981929b61d77b3508f1b5 (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
34
35
36
37
38
# ex:ts=8
# Ports collection makefile for:    slurm
# Date created:         Tue Oct 30, 2002
# Whom:             Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#

PORTNAME=   slurm
PORTVERSION=    0.3.3
CATEGORIES= net
MASTER_SITES=   http://www.wormulon.net/files/slurm/ \
        http://www.raisdorf.net/files/slurm/

MAINTAINER= mich@FreeBSD.org
COMMENT=    A generic network load monitor

LDFLAGS+=   -lncurses

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib

MAN1=   slurm.1

do-install:
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/themes/* ${DATADIR}

.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/KEYS ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
.endif

.include <bsd.port.mk>