aboutsummaryrefslogtreecommitdiff
path: root/textproc/gpp
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-12-22 13:18:23 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-12-22 13:18:23 +0000
commiteae80094d345af0b2857ef36d8f4f1014b07952f (patch)
treebabbf8b9ca53025ed27c0349383502748b343615 /textproc/gpp
parentfa59bd18c73a506c3ed2fe96b25811ca4b0b8ddd (diff)
downloadports-eae80094d345af0b2857ef36d8f4f1014b07952f.tar.gz
ports-eae80094d345af0b2857ef36d8f4f1014b07952f.zip
Notes
Diffstat (limited to 'textproc/gpp')
-rw-r--r--textproc/gpp/Makefile8
-rw-r--r--textproc/gpp/distinfo2
-rw-r--r--textproc/gpp/files/patch-Makefile11
-rw-r--r--textproc/gpp/files/patch-gpp.c10
4 files changed, 4 insertions, 27 deletions
diff --git a/textproc/gpp/Makefile b/textproc/gpp/Makefile
index 4e8df31f3177..7f10cb056ddd 100644
--- a/textproc/gpp/Makefile
+++ b/textproc/gpp/Makefile
@@ -6,19 +6,17 @@
#
PORTNAME= gpp
-PORTVERSION= 2.0
+PORTVERSION= 2.1
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
+ ${PERL} -pi -e "s|/usr/local|${PREFIX}|g; \
+ s|gcc -O2 -Wall|${CC} ${CFLAGS}|g" ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
diff --git a/textproc/gpp/distinfo b/textproc/gpp/distinfo
index 63086d04ddd8..2daedf0d4025 100644
--- a/textproc/gpp/distinfo
+++ b/textproc/gpp/distinfo
@@ -1 +1 @@
-MD5 (gpp.tar.gz) = 84886479ecb78eac5f5fcfa06aa00a94
+MD5 (gpp-2.1.tar.gz) = d1bcdcaa2ccf1a1c1a4dfeb7cf49f2b5
diff --git a/textproc/gpp/files/patch-Makefile b/textproc/gpp/files/patch-Makefile
deleted file mode 100644
index 294e45ed4f01..000000000000
--- a/textproc/gpp/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
diff --git a/textproc/gpp/files/patch-gpp.c b/textproc/gpp/files/patch-gpp.c
deleted file mode 100644
index 4eeb7ecb4d2a..000000000000
--- a/textproc/gpp/files/patch-gpp.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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