1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/lang/lfe/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= lfe
PORTVERSION= 1.3
2017-01-01 00:08:27 +00:00
DISTVERSIONPREFIX= v
2015-08-29 02:24:58 +00:00
CATEGORIES= lang
2017-01-01 00:08:27 +00:00
MAINTAINER= hrs@FreeBSD.org
COMMENT= Lisp Flavored Erlang
LICENSE= APACHE20
2017-01-01 00:08:27 +00:00
USES= erlang gmake
USE_GITHUB= yes
GH_ACCOUNT= rvirding
2017-01-01 00:08:27 +00:00
ALL_TARGET= compile
PORTDOCS= README.md
2017-01-01 00:08:27 +00:00
do-build:
cd ${BUILD_WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET}
post-install:
@${MKDIR} ${STAGEDIR}${ERL_APP_ROOT}/bin
.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
.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
.include <bsd.port.mk>