Lines 6-40
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= re2c |
8 |
PORTNAME= re2c |
9 |
PORTVERSION= 0.9.7 |
9 |
PORTVERSION= 0.9.12 |
10 |
PORTREVISION= 0 |
|
|
11 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
|
13 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= laszlof@vonostingroup.com |
16 |
COMMENT= Compile regular expression to C (much faster final code than flex) |
15 |
COMMENT= Compile regular expression to C (much faster final code than flex) |
17 |
|
16 |
|
18 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
19 |
USE_GCC= 3.4+ |
18 |
USE_GCC= 3.4+ |
|
|
19 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
20 |
|
20 |
|
21 |
PLIST_FILES= bin/re2c |
|
|
22 |
MAN1= re2c.1 |
21 |
MAN1= re2c.1 |
23 |
|
22 |
|
24 |
.if !defined(NOPORTDOCS) |
23 |
.if !defined(NOPORTDOCS) |
25 |
PORTDOCS= * |
|
|
26 |
.endif |
27 |
|
28 |
.if !defined(NOPORTDOCS) |
29 |
post-install: |
24 |
post-install: |
30 |
@${MKDIR} ${DOCSDIR} |
25 |
@${MKDIR} ${DOCSDIR} |
31 |
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} |
26 |
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} |
32 |
@${MKDIR} ${EXAMPLESDIR} |
27 |
@${MKDIR} ${EXAMPLESDIR} |
33 |
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} |
28 |
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} |
34 |
@${FIND} ${EXAMPLESDIR} ! -type d | \ |
|
|
35 |
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} |
36 |
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ |
37 |
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} |
38 |
.endif |
29 |
.endif |
39 |
|
|
|
40 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |