mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
d233f421bf
PR: 199317 Approved by: maintainer (Corey Halpin)
28 lines
620 B
Makefile
28 lines
620 B
Makefile
# Created by: Eivind Eklund <eivind@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= re2c
|
|
PORTVERSION= 0.14.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= chalpin@cs.wisc.edu
|
|
COMMENT= Compile regular expression to C (much faster final code than flex)
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/re2c \
|
|
man/man1/re2c.1.gz
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
|
|
|
|
.include <bsd.port.mk>
|