mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
ca1fba8244
- Add stage support - Add pkg-plist file Approved by: wg/culot (mentors, implicit)
42 lines
1000 B
Makefile
42 lines
1000 B
Makefile
# Created by: chinsan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= paexec
|
|
PORTVERSION= 0.19.1
|
|
PORTREVISION= 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:${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>
|