freebsd-ports/devel/re2c/Makefile

40 lines
863 B
Makefile
Raw Normal View History

# New ports collection makefile for: re2c
# Date created: 14 May 1998
# Whom: Eivind Eklund <eivind@FreeBSD.org>
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
2000-04-14 07:44:42 +02:00
PORTNAME= re2c
2004-06-01 11:41:36 +02:00
PORTVERSION= 0.9.3
PORTREVISION= 0
CATEGORIES= devel
2004-06-01 11:41:36 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
2003-08-11 17:05:18 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Compile regular expression to C (much faster final code than flex)
2004-06-01 11:41:36 +02:00
GNU_CONFIGURE= yes
2004-06-01 11:41:36 +02:00
PLIST_FILES= bin/re2c
MAN1= re2c.1
2004-06-01 11:41:36 +02:00
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
@${FIND} ${EXAMPLESDIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>