mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
34 lines
676 B
Makefile
34 lines
676 B
Makefile
# Created by: Eivind Eklund <eivind@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= re2c
|
|
PORTVERSION= 0.13.6
|
|
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
|
|
|
|
MAN1= re2c.1
|
|
PLIST_FILES= bin/re2c
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}/
|
|
cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR}/
|
|
.endif
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
${MKDIR} ${EXAMPLESDIR}/
|
|
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
|
|
.endif
|
|
.include <bsd.port.mk>
|