mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
add ucpp, a C preprocessor and lexer
This commit is contained in:
parent
6475524e69
commit
8db93d42d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38381
@ -407,6 +407,7 @@
|
||||
SUBDIR += tmake
|
||||
SUBDIR += tvision
|
||||
SUBDIR += uclmmbase
|
||||
SUBDIR += ucpp
|
||||
SUBDIR += ups-debug
|
||||
SUBDIR += veepee
|
||||
SUBDIR += viewcvs
|
||||
|
25
devel/ucpp/Makefile
Normal file
25
devel/ucpp/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# ex:ts=8
|
||||
# New ports collection makefile for: ucpp
|
||||
# Date created: Feb 16, 2001
|
||||
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ucpp
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.di.ens.fr/~pornin/ucpp/
|
||||
|
||||
MAINTAINER= ijliao@FreeBSD.org
|
||||
|
||||
MAN1= ucpp.1
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/ucpp/distinfo
Normal file
1
devel/ucpp/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ucpp-1.0.tar.gz) = d7175898b614170c8712d24dc3044f8a
|
21
devel/ucpp/files/patch-Makefile
Normal file
21
devel/ucpp/files/patch-Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
--- Makefile.orig Fri Feb 16 01:30:03 2001
|
||||
+++ Makefile Fri Feb 16 01:35:14 2001
|
||||
@@ -52,14 +52,14 @@
|
||||
#FLAGS = -O -m -DMEM_CHECK
|
||||
|
||||
# for gcc
|
||||
-#CC = gcc
|
||||
+CC = gcc
|
||||
#FLAGS = -g -Wall -ansi -pedantic -DAUDIT
|
||||
-#FLAGS = -O3 -Wall -ansi -pedantic -DMEM_CHECK
|
||||
+FLAGS = %%CFLAGS%% -DMEM_CHECK
|
||||
|
||||
# for the Compaq C compiler on Alpha/Linux
|
||||
-CC = ccc
|
||||
+#CC = ccc
|
||||
#FLAGS = -w0 -g -DAUDIT
|
||||
-FLAGS = -w0 -fast -DMEM_CHECK
|
||||
+#FLAGS = -w0 -fast -DMEM_CHECK
|
||||
|
||||
# for the Sun Workshop C Compiler
|
||||
#CC = cc
|
1
devel/ucpp/pkg-comment
Normal file
1
devel/ucpp/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A C preprocessor and lexer
|
9
devel/ucpp/pkg-descr
Normal file
9
devel/ucpp/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
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)
|
||||
|
||||
WWW: http://www.di.ens.fr/~pornin/ucpp/
|
1
devel/ucpp/pkg-plist
Normal file
1
devel/ucpp/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/ucpp
|
Loading…
Reference in New Issue
Block a user