aboutsummaryrefslogtreecommitdiff
path: root/devel/re2c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-12-31 23:06:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-12-31 23:06:05 +0000
commit8f3ab30509add600d1b2280deef9910ce3300508 (patch)
tree2a185e623ec83d73c73cc7b2978fcd9020aecdd7 /devel/re2c
parent1f0ca94cccb1daea7122acb6e6d7ce24e3207a8c (diff)
downloadports-8f3ab30509add600d1b2280deef9910ce3300508.tar.gz
ports-8f3ab30509add600d1b2280deef9910ce3300508.zip
Notes
Diffstat (limited to 'devel/re2c')
-rw-r--r--devel/re2c/Makefile20
-rw-r--r--devel/re2c/distinfo6
-rw-r--r--devel/re2c/pkg-plist19
3 files changed, 27 insertions, 18 deletions
diff --git a/devel/re2c/Makefile b/devel/re2c/Makefile
index 9fca97d6f598..6272ef562f11 100644
--- a/devel/re2c/Makefile
+++ b/devel/re2c/Makefile
@@ -6,35 +6,25 @@
#
PORTNAME= re2c
-PORTVERSION= 0.9.7
-PORTREVISION= 0
+PORTVERSION= 0.9.12
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= laszlof@vonostingroup.com
COMMENT= Compile regular expression to C (much faster final code than flex)
GNU_CONFIGURE= yes
USE_GCC= 3.4+
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-PLIST_FILES= bin/re2c
MAN1= re2c.1
.if !defined(NOPORTDOCS)
-PORTDOCS= *
-.endif
-
-.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
- ${CP} -R ${WRKSRC}/doc/ ${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}
+ ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
-
.include <bsd.port.mk>
diff --git a/devel/re2c/distinfo b/devel/re2c/distinfo
index d8475641299b..139b8a68e182 100644
--- a/devel/re2c/distinfo
+++ b/devel/re2c/distinfo
@@ -1,3 +1,3 @@
-MD5 (re2c-0.9.7.tar.gz) = d5b93296224370cf7168cb38226dfc5e
-SHA256 (re2c-0.9.7.tar.gz) = 83d1de1f9a3811d828a34f116f726d964d8065791f46236b7bd3c73a48c78ca9
-SIZE (re2c-0.9.7.tar.gz) = 238428
+MD5 (re2c-0.9.12.tar.gz) = 16f2cc9c2ece83f36aee584e0499dcfd
+SHA256 (re2c-0.9.12.tar.gz) = e3f70ca48f7cbc376c917f6d0a2187a028fd11155e6f5af3313966d9f2f41937
+SIZE (re2c-0.9.12.tar.gz) = 249038
diff --git a/devel/re2c/pkg-plist b/devel/re2c/pkg-plist
new file mode 100644
index 000000000000..46f0197af276
--- /dev/null
+++ b/devel/re2c/pkg-plist
@@ -0,0 +1,19 @@
+bin/re2c
+%%PORTDOCS%%%%DOCSDIR%%/loplas.ps
+%%PORTDOCS%%%%DOCSDIR%%/sample.bib
+%%PORTDOCS%%%%EXAMPLESDIR%%/rexx/scanio.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/rexx/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/rexx/rexx.l
+%%PORTDOCS%%%%EXAMPLESDIR%%/basemmap.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/c.re
+%%PORTDOCS%%%%EXAMPLESDIR%%/cmmap.re
+%%PORTDOCS%%%%EXAMPLESDIR%%/cnokw.re
+%%PORTDOCS%%%%EXAMPLESDIR%%/cunroll.re
+%%PORTDOCS%%%%EXAMPLESDIR%%/modula.re
+%%PORTDOCS%%%%EXAMPLESDIR%%/sample.re
+%%PORTDOCS%%%%EXAMPLESDIR%%/simple.re
+%%PORTDOCS%%%%EXAMPLESDIR%%/repeater.re
+%%PORTDOCS%%%%EXAMPLESDIR%%/push.re
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/rexx
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%