# $FreeBSD: head/textproc/re-flex/Makefile 492926 2019-02-14 17:42:19Z gahr $

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

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

CONFLICTS_INSTALL=	reflex

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

USE_GITHUB=	yes
GH_ACCOUNT=	Genivia
GH_PROJECT=	RE-flex

GNU_CONFIGURE=	yes

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/include/reflex
	cd ${WRKSRC}/include/reflex && \
	 ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/include/reflex

.include <bsd.port.mk>
