mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
4e1b79a0a6
With hat: portmgr Sponsored by: Absolight
41 lines
958 B
Makefile
41 lines
958 B
Makefile
# Created by: chinsan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= paexec
|
|
PORTVERSION= 1.0.1
|
|
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:devel/mk-configure \
|
|
runawk: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>
|