aboutsummaryrefslogtreecommitdiffstats
path: root/net/slurm/Makefile
blob: a448bfa29d3ede7d524d1774bcb6a77316e3d671 (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
# 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.0.10
CATEGORIES= net
MASTER_SITES=   http://www.raisdorf.net/files/code/ \
        http://www.fachschaft.fh-kiel.de/~hscholz/slurm/ \
        http://www.toppoint.de/~hscholz/slurm/

MAINTAINER= mich@freebsdcluster.org

LDFLAGS+=   -lncurses

do-build:
    (cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} slurm.c)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

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

.include <bsd.port.mk>