mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
Add gpp 2.0 - a generic text pre-processor.
PR: 30410 Submitted by: Jos Backus <josb@cncdsl.com>
This commit is contained in:
parent
53fe89e3f3
commit
509ac89829
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47752
8 changed files with 68 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
SUBDIR += gdome2
|
||||
SUBDIR += glimpse
|
||||
SUBDIR += gmat
|
||||
SUBDIR += gpp
|
||||
SUBDIR += grap
|
||||
SUBDIR += gsed
|
||||
SUBDIR += gtk-doc
|
||||
|
|
29
textproc/gpp/Makefile
Normal file
29
textproc/gpp/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
# New ports collection makefile for: gpp
|
||||
# Date created: 06 Sep 2001
|
||||
# Whom: Jos Backus <josb@cncdsl.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gpp
|
||||
PORTVERSION= 2.0
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.math.polytechnique.fr/cmat/auroux/prog/
|
||||
DISTNAME= ${PORTNAME}
|
||||
|
||||
MAINTAINER= josb@cncdsl.com
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAN1= gpp.1
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/gpp.html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
textproc/gpp/distinfo
Normal file
1
textproc/gpp/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (gpp.tar.gz) = 84886479ecb78eac5f5fcfa06aa00a94
|
11
textproc/gpp/files/patch-Makefile
Normal file
11
textproc/gpp/files/patch-Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.orig Thu Sep 6 12:54:40 2001
|
||||
+++ Makefile Thu Sep 6 12:55:01 2001
|
||||
@@ -4,7 +4,7 @@
|
||||
all: gpp gpp.1 gpp.html
|
||||
|
||||
gpp: gpp.c
|
||||
- gcc -O2 -Wall gpp.c -o gpp
|
||||
+ gcc $(CFLAGS) gpp.c -o gpp
|
||||
|
||||
gpp.1: gpp gpphelp.pp
|
||||
./gpp -H -Dman gpphelp.pp -o gpp.1
|
10
textproc/gpp/files/patch-gpp.c
Normal file
10
textproc/gpp/files/patch-gpp.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- gpp.c.orig Thu Sep 6 12:51:44 2001
|
||||
+++ gpp.c Thu Sep 6 12:52:57 2001
|
||||
@@ -40,7 +40,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <malloc.h>
|
||||
|
||||
#define STACKDEPTH 50
|
||||
#define MAXARGS 100
|
1
textproc/gpp/pkg-comment
Normal file
1
textproc/gpp/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
The Generic Preprocessor
|
12
textproc/gpp/pkg-descr
Normal file
12
textproc/gpp/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
|||
gpp is a general-purpose preprocessor with customizable syntax, suitable for a
|
||||
wide range of preprocessing tasks. Its independence on any programming
|
||||
language makes it much more versatile than cpp, while its syntax is lighter
|
||||
and more flexible than that of m4.
|
||||
|
||||
gpp is targeted at all common preprocessing tasks where cpp is not suitable
|
||||
and where no very sophisticated features are needed. In order to be able to
|
||||
process equally efficiently text files or source code in a variety of
|
||||
languages, the syntax used by gpp is fully customizable. The handling of
|
||||
comments and strings is especially advanced.
|
||||
|
||||
WWW: http://www.math.polytechnique.fr/cmat/auroux/prog/gpp.html
|
3
textproc/gpp/pkg-plist
Normal file
3
textproc/gpp/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
bin/gpp
|
||||
%%PORTDOCS%%share/doc/gpp/gpp.html
|
||||
%%PORTDOCS%%@dirrm share/doc/gpp
|
Loading…
Add table
Reference in a new issue