aboutsummaryrefslogtreecommitdiffstats
path: root/lang/myrddin/Makefile
blob: 479de59d3692a1120950b480fd0d9374423d6e28 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $FreeBSD$

PORTNAME=   myrddin
PORTVERSION=    0.2.0
CATEGORIES= lang
MASTER_SITES=   http://myrlang.org/releases/

MAINTAINER= tobik@FreeBSD.org
COMMENT=    Myrddin Compiler

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

ONLY_FOR_ARCHS= amd64

USES=   gmake

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix "${PREFIX}"
TEST_TARGET=    check
WRKSRC= ${WRKDIR}/mc

# ld: error: <internal>: section sh_addralign is not a power of 2
LLD_UNSAFE= yes

OPTIONS_DEFINE= DEBUG VIM
OPTIONS_DEFAULT=    VIM
OPTIONS_SUB=    yes

VIM_DESC=   Install Vim plugin

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*

post-install-VIM-on:
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles
    @cd ${WRKSRC}/support/vim && \
        ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/vim/vimfiles

.include <bsd.port.mk>