9fb1ef4c3a
response to email. Hat: portmgr
44 lines
1,014 B
Makefile
44 lines
1,014 B
Makefile
# New ports collection makefile for: paexec
|
|
# Date created: 2008/01/26
|
|
# Whom: chinsan
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= paexec
|
|
PORTVERSION= 0.13.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
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
|
|
|
|
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
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for doc in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|