summaryrefslogtreecommitdiff
path: root/textproc/re-flex/Makefile
blob: 6fefdd59d03cdc0f1ddbfcab20fecb3d6ed3df1a (plain)
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

PORTNAME=	re-flex
PORTVERSION=	3.0.2
DISTVERSIONPREFIX=	v
CATEGORIES=	textproc

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	Regex-centric, fast and flexible scanner generator for C++

LICENSE=	BSD3CLAUSE

USES=		autoreconf compiler:c++11-lib gmake

CONFLICTS_INSTALL=	reflex

USE_GITHUB=	yes
GH_ACCOUNT=	Genivia
GH_PROJECT=	RE-flex

GNU_CONFIGURE=	yes

TEST_TARGET=	test

post-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/reflex
	(cd ${WRKSRC}/include/reflex && \
	 ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/include/reflex)
	@${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/lex.vim ${STAGEDIR}${DATADIR}/lex.vim

.include <bsd.port.mk>