aboutsummaryrefslogtreecommitdiffstats
path: root/lang/lfe/Makefile
blob: 78ad702f1b65e9d23e80a3f64d805296cde08ca2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $FreeBSD$

PORTNAME=   lfe
PORTVERSION=    0.9.2
CATEGORIES= lang

MAINTAINER= rpaulo@FreeBSD.org
COMMENT=    Lisp Flavored Erlang

LICENSE=    APACHE20

USE_GITHUB= yes
GH_ACCOUNT= rvirding

USES=       erlang:rebar

post-install:
    @${MKDIR} ${STAGEDIR}${ERL_APP_ROOT}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/bin/lfe ${STAGEDIR}${ERL_APP_ROOT}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/bin/lfec ${STAGEDIR}${ERL_APP_ROOT}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/bin/lfescript ${STAGEDIR}${ERL_APP_ROOT}/bin
    ${LN} -sf ${ERL_APP_ROOT}/bin/lfe ${STAGEDIR}${PREFIX}/bin
    ${LN} -sf ${ERL_APP_ROOT}/bin/lfec ${STAGEDIR}${PREFIX}/bin
    ${LN} -sf ${ERL_APP_ROOT}/bin/lfescript ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>