mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
43 lines
993 B
Makefile
43 lines
993 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= meck
|
|
PORTVERSION= 0.8.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GH
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Erlang library for building mock modules
|
|
|
|
LICENSE= AL2
|
|
|
|
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
|
|
rebar:${PORTSDIR}/devel/rebar
|
|
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
|
|
USES= gmake
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= eproxus
|
|
GH_PROJECT= meck
|
|
GH_COMMIT= 1286aba
|
|
GH_TAGNAME= ${PORTVERSION}
|
|
|
|
PORTDOCS= *
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
|
|
.endif
|
|
@${MKDIR} ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}
|
|
@${MKDIR} ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin
|
|
@${MKDIR} ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src
|
|
@${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin
|
|
@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src
|
|
|
|
.include <bsd.port.mk>
|