Skip site navigation (1)Skip section navigation (2)
Date:      6 Sep 2001 23:42:29 -0000
From:      jos@cncdsl.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30410: New port: gpp-2.0
Message-ID:  <20010906234229.97355.qmail@lizzy.bugworks.com>

next in thread | raw e-mail | index | archive | help

>Number:         30410
>Category:       ports
>Synopsis:       New port: gpp-2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 16:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jos Backus
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
none
>Environment:

>Description:

	New port: gpp-2.0, a generic preprocessor

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./distinfo
#	./pkg-plist
#	./files
#	./files/patch-gpp.c
#	./files/patch-Makefile
#	./pkg-comment
#	./pkg-descr
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:    gpp
X# Date created:         06 Sep 2001
X# Whom:                 Jos Backus <josb@cncdsl.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gpp
XPORTVERSION=	2.0
XCATEGORIES=	textproc
XMASTER_SITES=	http://www.math.polytechnique.fr/cmat/auroux/prog/
XDISTNAME=	${PORTNAME}
X
XMAINTAINER=	josb@cncdsl.com
X
XWRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XMAN1=		gpp.1
X
Xdo-configure:
X	cd ${WRKSRC} && perl -pi -e "s|/usr/local|${PREFIX}|g" Makefile
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (gpp.tar.gz) = 84886479ecb78eac5f5fcfa06aa00a94
END-of-./distinfo
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/gpp
END-of-./pkg-plist
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-gpp.c
sed 's/^X//' >./files/patch-gpp.c << 'END-of-./files/patch-gpp.c'
X--- gpp.c.orig	Thu Sep  6 12:51:44 2001
X+++ gpp.c	Thu Sep  6 12:52:57 2001
X@@ -40,7 +40,6 @@
X #include <stdio.h>
X #include <stdlib.h>
X #include <string.h>
X-#include <malloc.h>
X 
X #define STACKDEPTH 50
X #define MAXARGS 100
END-of-./files/patch-gpp.c
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig	Thu Sep  6 12:54:40 2001
X+++ Makefile	Thu Sep  6 12:55:01 2001
X@@ -4,7 +4,7 @@
X all: gpp gpp.1 gpp.html
X 
X gpp: gpp.c
X-	gcc -O2 -Wall gpp.c -o gpp
X+	gcc $(CFLAGS) gpp.c -o gpp
X 
X gpp.1: gpp gpphelp.pp
X 	./gpp -H -Dman gpphelp.pp -o gpp.1
END-of-./files/patch-Makefile
echo x - ./pkg-comment
sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment'
XThe Generic Preprocessor
END-of-./pkg-comment
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
Xgpp is a general-purpose preprocessor with customizable syntax, suitable for a
Xwide range of preprocessing tasks. Its independence on any programming
Xlanguage makes it much more versatile than cpp, while its syntax is lighter
Xand more flexible than that of m4.
X
Xgpp is targeted at all common preprocessing tasks where cpp is not suitable
Xand where no very sophisticated features are needed. In order to be able to
Xprocess equally efficiently text files or source code in a variety of
Xlanguages, the syntax used by gpp is fully customizable. The handling of
Xcomments and strings is especially advanced.
X
XWWW: http://www.math.polytechnique.fr/cmat/auroux/prog/gpp.html
END-of-./pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010906234229.97355.qmail>