pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ucpp Import ucpp version 1.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc7ba0fb5ba2
branches:  trunk
changeset: 529103:fc7ba0fb5ba2
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu May 24 16:23:23 2007 +0000

description:
Import ucpp version 1.3.
Based on PR 31480 by Jeroen Ruigrok van der Werven,
fixed manual page installation path.

ucpp is a C preprocessor and lexer. It has the following goals:

   - Strict conformance to the C99 standard (with switches to
     disable some extensions and mimic C90 behaviour)
   - Low memory consumption
   - Possibility to use the code as a lexer (that outputs tokens
     directly)

diffstat:

 devel/ucpp/DESCR            |   7 +++++++
 devel/ucpp/Makefile         |  18 ++++++++++++++++++
 devel/ucpp/PLIST            |   3 +++
 devel/ucpp/distinfo         |   6 ++++++
 devel/ucpp/patches/patch-aa |  24 ++++++++++++++++++++++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r 8a756cce37e3 -r fc7ba0fb5ba2 devel/ucpp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ucpp/DESCR  Thu May 24 16:23:23 2007 +0000
@@ -0,0 +1,7 @@
+ucpp is a C preprocessor and lexer. It has the following goals:
+
+   - Strict conformance to the C99 standard (with switches to
+     disable some extensions and mimic C90 behaviour)
+   - Low memory consumption
+   - Possibility to use the code as a lexer (that outputs tokens
+     directly)
diff -r 8a756cce37e3 -r fc7ba0fb5ba2 devel/ucpp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ucpp/Makefile       Thu May 24 16:23:23 2007 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/24 16:23:23 obache Exp $
+#
+
+DISTNAME=      ucpp-1.3
+CATEGORIES=    devel
+MASTER_SITES=  http://pornin.nerim.net/ucpp/
+
+MAINTAINER=    asmodai%in-nomine.org@localhost
+HOMEPAGE=      http://pornin.nerim.net/ucpp/
+COMMENT=       C preprocessor and lexer
+
+MAN1=          ucpp.1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/ucpp ${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff -r 8a756cce37e3 -r fc7ba0fb5ba2 devel/ucpp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ucpp/PLIST  Thu May 24 16:23:23 2007 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/24 16:23:23 obache Exp $
+bin/ucpp
+man/man1/ucpp.1
diff -r 8a756cce37e3 -r fc7ba0fb5ba2 devel/ucpp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ucpp/distinfo       Thu May 24 16:23:23 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/24 16:23:23 obache Exp $
+
+SHA1 (ucpp-1.3.tar.gz) = 48073c0a1ed661ea4056d393018250a34755bd01
+RMD160 (ucpp-1.3.tar.gz) = d9b1896cb84af12c7dac762099839af6ed644f19
+Size (ucpp-1.3.tar.gz) = 91537 bytes
+SHA1 (patch-aa) = 63765593c773212ae37da6b738e31b49cb98e181
diff -r 8a756cce37e3 -r fc7ba0fb5ba2 devel/ucpp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ucpp/patches/patch-aa       Thu May 24 16:23:23 2007 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/05/24 16:23:23 obache Exp $
+
+--- Makefile.orig      Wed Jan 15 02:07:44 2003
++++ Makefile   Sun Jul 27 14:51:51 2003
+@@ -56,8 +56,8 @@
+ #FLAGS = -O -m -DMEM_CHECK
+ 
+ # for gcc
+-CC = gcc
+-FLAGS = -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG
++CC ?= gcc
++FLAGS = -ansi -DAUDIT -DMEM_DEBUG
+ #FLAGS = -O3 -mcpu=pentiumpro -fomit-frame-pointer -W -Wall -ansi -DMEM_CHECK
+ #FLAGS = -O -pg -W -Wall -ansi -DMEM_CHECK
+ #LDFLAGS = -pg
+@@ -80,7 +80,7 @@
+ # ----- nothing should be changed below this line -----
+ 
+ COBJ = mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o
+-CFLAGS = $(FLAGS) -DSTAND_ALONE
++CFLAGS += $(FLAGS) -DSTAND_ALONE
+ 
+ all: ucpp
+ 



Home | Main Index | Thread Index | Old Index