aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cparser
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-12-02 09:24:52 +0800
committerwxs <wxs@FreeBSD.org>2008-12-02 09:24:52 +0800
commitf5ebf5b9d39e4eb25e9a9864608a163397515cc8 (patch)
tree83069c4f9469e3c136f19926874803b172bd6a8c /lang/cparser
parent9b1c2ad214e1cf22006ad24b700475668480f3b4 (diff)
downloadfreebsd-ports-gnome-f5ebf5b9d39e4eb25e9a9864608a163397515cc8.tar.gz
freebsd-ports-gnome-f5ebf5b9d39e4eb25e9a9864608a163397515cc8.tar.zst
freebsd-ports-gnome-f5ebf5b9d39e4eb25e9a9864608a163397515cc8.zip
- Update to 0.9.7
- Switch to MASTER_SITE_SOURCEFORGE - Install man pages - Fixup pkg-descr typos PR: ports/129343 Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (maintainer)
Diffstat (limited to 'lang/cparser')
-rw-r--r--lang/cparser/Makefile9
-rw-r--r--lang/cparser/distinfo6
-rw-r--r--lang/cparser/pkg-descr10
3 files changed, 14 insertions, 11 deletions
diff --git a/lang/cparser/Makefile b/lang/cparser/Makefile
index c436f5d2e6e1..051a0560f748 100644
--- a/lang/cparser/Makefile
+++ b/lang/cparser/Makefile
@@ -6,14 +6,14 @@
#
PORTNAME= cparser
-PORTVERSION= 0.9.6
+PORTVERSION= 0.9.7
CATEGORIES= lang devel
-MASTER_SITES= http://www.info.uni-karlsruhe.de/software/libfirm/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= christoph.mallon@gmx.de
COMMENT= A C99 compiler using libFIRM as backend
-RUN_DEPENDS= ${LOCALBASE}/lib/libfirm.a:${PORTSDIR}/devel/libfirm
LIB_DEPENDS= firm.0:${PORTSDIR}/devel/libfirm
USE_BZIP2= yes
@@ -23,7 +23,10 @@ PLIST_FILES= bin/cparser
.include <bsd.port.pre.mk>
+MAN1= cparser.1
+
do-install:
@${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/build/cparser ${PREFIX}/bin
+ @${INSTALL_MAN} ${INSTALL_WRKSRC}/cparser.1 ${MAN1PREFIX}/man/man1
.include <bsd.port.post.mk>
diff --git a/lang/cparser/distinfo b/lang/cparser/distinfo
index 3c1ad60cac9a..6a879613153f 100644
--- a/lang/cparser/distinfo
+++ b/lang/cparser/distinfo
@@ -1,3 +1,3 @@
-MD5 (cparser-0.9.6.tar.bz2) = 3efd0e233292038642ec6c0de065bca5
-SHA256 (cparser-0.9.6.tar.bz2) = cb81ff4838aeb39b7692906d7872ccb9c389326136745da9f3dd602fab092149
-SIZE (cparser-0.9.6.tar.bz2) = 179038
+MD5 (cparser-0.9.7.tar.bz2) = 19af4d2d0fe76d444f043b257dc28970
+SHA256 (cparser-0.9.7.tar.bz2) = 623bf32ccfce4a5676c6172a63e3cbada59919cc862c671b35e881a0c424ee00
+SIZE (cparser-0.9.7.tar.bz2) = 187966
diff --git a/lang/cparser/pkg-descr b/lang/cparser/pkg-descr
index 40555d4c0af6..6f81c2800442 100644
--- a/lang/cparser/pkg-descr
+++ b/lang/cparser/pkg-descr
@@ -1,12 +1,12 @@
-cparser is a C compiler, which can parse C89 and C99 as well as many GCC and
+cparser is a C compiler, which can parse C90 and C99 as well as many GCC and
some MSVC extensions. It also provides many useful analyses for warnings. It
-uses libFIRM, which provides a SSA-based intermediate representation in form of
+uses libFIRM, which provides an SSA-based intermediate representation in form of
explicit dependency graphs, for optimization and code generation. Parsing is
done with a handwritten recursive descent parser. The AST representation is
straightforward, so it can be used for other purposes than code generation.
-* fast recursive descent parser, parses C89 and C99
-* handles most GCC extensions, f.e. __attribute__, inline assembler,
+* fast recursive descent parser, parses C90 and C99
+* handles most GCC extensions, e.g. __attribute__, inline assembler,
computed goto, statement expressions
* handles some MSVC extensions (like declspec)
* provides many useful warnings
@@ -18,7 +18,7 @@ straightforward, so it can be used for other purposes than code generation.
* most warnings switches, which are available for GCC
* provides concise messages in case of error, for example when encountering
misspelled typenames
-* compiler driver compatible with with GCC (-fxxx, -Wxxx, -M, ...)
+* compiler driver compatible with GCC (-fxxx, -Wxxx, -M, ...)
* uses libFIRM for optimization and code generation (devel/libfirm)
WWW: http://www.libfirm.org