1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/devel/paexec/Makefile
2014-07-14 22:58:26 +00:00

41 lines
982 B
Makefile

# Created by: chinsan
# $FreeBSD$
PORTNAME= paexec
PORTVERSION= 1.0.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Parallel executor, distributes tasks over network
LICENSE= MIT
BUILD_DEPENDS= mkcmake:${PORTSDIR}/devel/mk-configure \
runawk:${PORTSDIR}/lang/runawk
OPTIONS_DEFINE= DOCS EXAMPLES
USES= perl5
USE_PERL5= build
MAKE_ENV= SUBPRJ_DFLT="${SUBPRJ_DFLT}"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
SUBPRJ_DFLT= paexec doc examples
MAKE_ENV+= EGDIR="${STAGEDIR}${EXAMPLESDIR}" \
DOCDIR="${STAGEDIR}${DOCSDIR}" \
BINDIR="${STAGEDIR}${PREFIX}/bin" \
MANDIR="${STAGEDIR}${MANPREFIX}/man"
do-build:
@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}
do-install:
${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} \
${INSTALL_TARGET}
${INSTALL_DATA} ${WRKSRC}/presentation/${PORTNAME}.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>