blob: 2d23510d8608a3e1f3c72234cab5fc8d72642e37 (
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
|
# New ports collection makefile for: paexec
# Date created: 2008/01/26
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= paexec
PORTVERSION= 0.14.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= baptiste.daroussin@gmail.com
COMMENT= Parallel executor, distributes tasks over network
LIB_DEPENDS= maa:${PORTSDIR}/devel/libmaa
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DOCS= ChangeLog NEWS README
MAN1= paexec.1
LICENSE= MIT
post-patch:
@${REINPLACE_CMD} -e 's,2048,4096,; s,x.y.z,${PORTVERSION},' \
${WRKSRC}/paexec.c
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} \
*.c -o ${PORTNAME} -lmaa
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/paexec ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/paexec.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|