aboutsummaryrefslogtreecommitdiff
path: root/devel/paexec/Makefile
blob: d22f82691f899adbda20886fd03da007901d2776 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:	paexec
# Date created:				2008/01/26
# Whom:					chinsan
#
# $FreeBSD$
#

PORTNAME=	paexec
PORTVERSION=	0.16.1
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	bapt@FreeBSD.org
COMMENT=	Parallel executor, distributes tasks over network

LICENSE=	MIT

LIB_DEPENDS=	maa:${PORTSDIR}/devel/libmaa
BUILD_DEPENDS=	mk-configure>=0.20:${PORTSDIR}/devel/mk-configure
RUN_DEPENDS=	runawk:${PORTSDIR}/lang/runawk

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
MAKE_ENV+=	SUBPRJ_DFLT="${SUBPRJ_DFLT}"

SUBPRJ_DFLT=	${PORTNAME}

.if !defined(NOPORTDOCS)
PORTDOCS=	*
SUBPRJ_DFLT+=	doc
.endif

.if !defined(NOPORTEXAMPLES)
PORTEXAMPLES=	*
SUBPRJ_DFLT+=	examples
MAKE_ENV+=	EGDIR="${EXAMPLESDIR}"
.endif

PLIST_FILES=	bin/${PORTNAME} \
		bin/${PORTNAME}_reorder

MAN1=		${PORTNAME}.1 \
		${PORTNAME}_reorder.1

do-build:
	@${SETENV} ${MAKE_ENV} LDFLAGS="${LDFLAGS}" ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}

do-install:
	@${SETENV} ${MAKE_ENV} LDFLAGS="${LDFLAGS}" ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} ${INSTALL_TARGET}

.include <bsd.port.mk>