1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/re2c/Makefile
Baptiste Daroussin 9bd6638faa Support stage
Add DOCS and EXAMPLES option
2014-01-26 23:53:59 +00:00

28 lines
616 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
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>