2015-08-28 21:14:23 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lfe
|
2017-10-14 14:35:19 +00:00
|
|
|
PORTVERSION= 1.3
|
2017-01-01 00:08:27 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
2015-08-29 02:24:58 +00:00
|
|
|
CATEGORIES= lang
|
2015-08-28 21:14:23 +00:00
|
|
|
|
2017-01-01 00:08:27 +00:00
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2015-08-28 21:14:23 +00:00
|
|
|
COMMENT= Lisp Flavored Erlang
|
|
|
|
|
|
|
|
LICENSE= APACHE20
|
|
|
|
|
2017-01-01 00:08:27 +00:00
|
|
|
USES= erlang gmake
|
2015-08-28 21:14:23 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= rvirding
|
2017-01-01 00:08:27 +00:00
|
|
|
ALL_TARGET= compile
|
|
|
|
PORTDOCS= README.md
|
2015-08-28 21:14:23 +00:00
|
|
|
|
2017-01-01 00:08:27 +00:00
|
|
|
do-build:
|
|
|
|
cd ${BUILD_WRKSRC} && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET}
|
2015-08-28 21:14:23 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${ERL_APP_ROOT}/bin
|
2017-10-14 14:35:19 +00:00
|
|
|
.for FILE in lfe lfec lfedoc lfescript
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/${FILE} ${STAGEDIR}${ERL_APP_ROOT}/bin
|
|
|
|
${LN} -sf ${ERL_APP_ROOT:S,^${PREFIX}/,,:S,^,../,}/bin/${FILE} \
|
2017-01-01 00:08:27 +00:00
|
|
|
${STAGEDIR}${PREFIX}/bin
|
2017-10-14 14:35:19 +00:00
|
|
|
.endfor
|
|
|
|
.for FILE in lfe.1 lfescript.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/${FILE} \
|
|
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.endfor
|
|
|
|
.for FILE in lfe_lib.3 lfe_doc.3 lfe_clj.3 lfe_cl.3 lfe_gen.3 \
|
|
|
|
lfe_io.3 lfe_macro.3 lfe_comp.3 lfe_bits.3
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/${FILE} \
|
|
|
|
${STAGEDIR}${MAN1PREFIX}/man/man3
|
|
|
|
.endfor
|
|
|
|
.for FILE in lfe_guide.7 lfe_types.7
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/${FILE} \
|
|
|
|
${STAGEDIR}${MAN1PREFIX}/man/man7
|
|
|
|
.endfor
|
2015-08-28 21:14:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|