aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gpp
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-12-22 21:18:23 +0800
committerkevlo <kevlo@FreeBSD.org>2001-12-22 21:18:23 +0800
commit03953b6c01f44a42ca64a78d3a894302b0251715 (patch)
treeabc81a6abc2fee0a8268d7c21aa1ef20fac91c17 /textproc/gpp
parent57064580bef491e67a9f3835ee2c163d40ade049 (diff)
downloadfreebsd-ports-gnome-03953b6c01f44a42ca64a78d3a894302b0251715.tar.gz
freebsd-ports-gnome-03953b6c01f44a42ca64a78d3a894302b0251715.tar.zst
freebsd-ports-gnome-03953b6c01f44a42ca64a78d3a894302b0251715.zip
Update to version 2.1
PR: 32980 Submitted by: MAINTAINER
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