aboutsummaryrefslogtreecommitdiff
path: root/print/lgrind
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-08-22 04:49:50 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-08-22 04:49:50 +0000
commitf594cd6879f94abd3a3b5ad9dc9de1b0714c7abe (patch)
tree25d2b2b10f996bf47843d1b550c7d040cfcf9d72 /print/lgrind
parent4c937e041815fe6db26b25dfa35b38af7dccffd5 (diff)
downloadports-f594cd6879f94abd3a3b5ad9dc9de1b0714c7abe.tar.gz
ports-f594cd6879f94abd3a3b5ad9dc9de1b0714c7abe.zip
Notes
Diffstat (limited to 'print/lgrind')
-rw-r--r--print/lgrind/Makefile4
-rw-r--r--print/lgrind/distinfo4
-rw-r--r--print/lgrind/files/patch-Makefile16
-rw-r--r--print/lgrind/files/patch-source_Makefile12
-rw-r--r--print/lgrind/files/patch-source_lgrind.c11
-rw-r--r--print/lgrind/files/patch-source_regexp.c11
6 files changed, 50 insertions, 8 deletions
diff --git a/print/lgrind/Makefile b/print/lgrind/Makefile
index ca962471667a..5ebadaced83d 100644
--- a/print/lgrind/Makefile
+++ b/print/lgrind/Makefile
@@ -37,10 +37,6 @@ DISTFILES= ${PORTNAME}/source/Makefile \
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME}.tar.gz
-PATCH_SITES= http://home.arcor.de/kay_lehmann/freebsd/ports/lgrind/
-PATCHFILES= patch-Makefile.gz patch-source_Makefile.gz \
- patch-source_lgrind.c.gz patch-source_regexp.c.gz
-
MAINTAINER= kay_lehmann@web.de
COMMENT= Produce beautiful listings of source code with LaTeX
diff --git a/print/lgrind/distinfo b/print/lgrind/distinfo
index 2a2fced4c53e..60a3e26d3e2e 100644
--- a/print/lgrind/distinfo
+++ b/print/lgrind/distinfo
@@ -19,8 +19,4 @@ MD5 (lgrind/lgrind/source/regexp.c) = 08bfdb914d889830e5c2bdca2ba89291
MD5 (lgrind/lgrind/source/regexp.h) = e02f12d75ae0f1d4388e89072139bd93
MD5 (lgrind/lgrind/source/retest.c) = 478fccd23c3e34815faf17b369e53d98
MD5 (lgrind/lgrind/source/v2lg.c) = f642e88c0a0ab2e4183e46dd5f575605
-MD5 (lgrind/patch-Makefile.gz) = 49212838d1d91c42d7d981537ceffafb
-MD5 (lgrind/patch-source_Makefile.gz) = 750ac77c961e287b8984cddfd052d6f5
-MD5 (lgrind/patch-source_lgrind.c.gz) = 5c5d69cb400d4edb7d8f6e1c666ccfac
-MD5 (lgrind/patch-source_regexp.c.gz) = 2eb6d0d78352b1a474742e60a1239ccd
MD5 (lgrind/lgrind.tar.gz) = IGNORE
diff --git a/print/lgrind/files/patch-Makefile b/print/lgrind/files/patch-Makefile
new file mode 100644
index 000000000000..94708e838b72
--- /dev/null
+++ b/print/lgrind/files/patch-Makefile
@@ -0,0 +1,16 @@
+--- Makefile.orig Sat Apr 20 14:54:37 2002
++++ Makefile Sat Apr 20 14:55:38 2002
+@@ -2,11 +2,11 @@
+
+ # $Id: Makefile,v 1.10 2000/12/27 21:42:37 mike Exp $
+
+-BASEDIR=/usr
++BASEDIR=/usr/local
+ #DEFSFILE=${HOME}/Work/lgrind/lgrindef
+ DEFSFILE=$(BASEDIR)/share/texmf/tex/latex/lgrind/lgrindef
+ TEXFILEDIR=$(BASEDIR)/share/texmf/tex/latex/lgrind
+-DOCDIR=$(BASEDIR)/doc/lgrind
++DOCDIR=$(BASEDIR)/share/texmf/doc/latex/lgrind
+
+ INSTALL=install
+ SOURCES=lgrind.c lgutil.c regexp.c regexp.h lgrindef.c lgrindef.h retest.c v2lg.c
diff --git a/print/lgrind/files/patch-source_Makefile b/print/lgrind/files/patch-source_Makefile
new file mode 100644
index 000000000000..0d764fd56dba
--- /dev/null
+++ b/print/lgrind/files/patch-source_Makefile
@@ -0,0 +1,12 @@
+--- source/Makefile.orig Sat Apr 20 15:18:16 2002
++++ source/Makefile Sat Apr 20 15:21:27 2002
+@@ -33,7 +33,9 @@
+ install: all
+ $(INSTALL) -s lgrind $(BINDIR)/lgrind
+ $(INSTALL) -m 644 $(MANPAGES1) $(MANDIR)/man1
++ gzip $(MANDIR)/man1/$(MANPAGES1)
+ $(INSTALL) -m 644 $(MANPAGES5) $(MANDIR)/man5
++ gzip $(MANDIR)/man5/$(MANPAGES5)
+
+ clean:
+ rm -f $(OBJS) lgrind retest v2lg
diff --git a/print/lgrind/files/patch-source_lgrind.c b/print/lgrind/files/patch-source_lgrind.c
new file mode 100644
index 000000000000..27392f0450bb
--- /dev/null
+++ b/print/lgrind/files/patch-source_lgrind.c
@@ -0,0 +1,11 @@
+--- source/lgrind.c.orig Fri Mar 28 10:08:41 2003
++++ source/lgrind.c Fri Mar 28 10:09:12 2003
+@@ -94,7 +94,7 @@
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
+-#include <malloc.h>
++/*#include <malloc.h> */
+ #include <time.h>
+ /* One of the following two (depending on your system) */
+ #include <unistd.h>
diff --git a/print/lgrind/files/patch-source_regexp.c b/print/lgrind/files/patch-source_regexp.c
new file mode 100644
index 000000000000..708207ffbc95
--- /dev/null
+++ b/print/lgrind/files/patch-source_regexp.c
@@ -0,0 +1,11 @@
+--- source/regexp.c.orig Fri Mar 28 10:09:46 2003
++++ source/regexp.c Fri Mar 28 10:10:13 2003
+@@ -56,7 +56,7 @@
+
+
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
+ #include "regexp.h"