1998-05-16 19:41:25 +02:00
|
|
|
# New ports collection makefile for: re2c
|
|
|
|
# Date created: 14 May 1998
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Eivind Eklund <eivind@FreeBSD.org>
|
1998-05-16 19:41:25 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1998-05-16 19:41:25 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:44:42 +02:00
|
|
|
PORTNAME= re2c
|
2004-06-01 11:41:36 +02:00
|
|
|
PORTVERSION= 0.9.3
|
|
|
|
PORTREVISION= 0
|
1998-05-16 19:41:25 +02:00
|
|
|
CATEGORIES= devel
|
2004-06-01 11:41:36 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1998-05-16 19:41:25 +02:00
|
|
|
|
2003-08-11 17:05:18 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Compile regular expression to C (much faster final code than flex)
|
1998-05-16 19:41:25 +02:00
|
|
|
|
2004-06-01 11:41:36 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-02-20 23:25:04 +01:00
|
|
|
|
2004-06-01 11:41:36 +02:00
|
|
|
PLIST_FILES= bin/re2c
|
1998-05-16 19:41:25 +02:00
|
|
|
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
|
1998-05-16 19:41:25 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|