mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
9bd6638faa
Add DOCS and EXAMPLES option
28 lines
616 B
Makefile
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>
|