Index: head/print/Makefile =================================================================== --- head/print/Makefile (revision 374915) +++ head/print/Makefile (revision 374916) @@ -1,263 +1,264 @@ # $FreeBSD$ # COMMENT = Desktop publishing SUBDIR += a2pdf SUBDIR += a2ps SUBDIR += abc2mtex SUBDIR += abcm2ps SUBDIR += adobe-cmaps SUBDIR += afm SUBDIR += alignmargins SUBDIR += ansiprint SUBDIR += apsfilter SUBDIR += asprint SUBDIR += auctex SUBDIR += axpoint SUBDIR += bibcursed SUBDIR += biblio-py SUBDIR += bibview SUBDIR += c2ps SUBDIR += catdvi SUBDIR += cdlabelgen SUBDIR += cloudprint SUBDIR += cm-super SUBDIR += cups SUBDIR += cups-base SUBDIR += cups-bjnp SUBDIR += cups-client SUBDIR += cups-cloud-print SUBDIR += cups-filters SUBDIR += cups-fxlinuxprint SUBDIR += cups-image SUBDIR += cups-pdf SUBDIR += cups-pk-helper SUBDIR += cups-pstoraster SUBDIR += cups-smb-backend SUBDIR += deforaos-pdfviewer SUBDIR += detex SUBDIR += dot2tex SUBDIR += dvi2tty SUBDIR += dvips2ascii SUBDIR += dvisvg SUBDIR += easylatex SUBDIR += enscript-a4 SUBDIR += enscript-letter SUBDIR += enscript-letterdj SUBDIR += enscriptfonts SUBDIR += epsonepl SUBDIR += flpsed SUBDIR += font-amsfonts SUBDIR += font2svg SUBDIR += fontforge SUBDIR += foo2zjs SUBDIR += foomatic-db SUBDIR += foomatic-db-engine SUBDIR += foomatic-db-hpijs SUBDIR += foomatic-filters SUBDIR += foxitreader SUBDIR += fpdf SUBDIR += freetype SUBDIR += freetype2 SUBDIR += frescobaldi SUBDIR += ft2demos SUBDIR += ggv SUBDIR += ghostscript7 SUBDIR += ghostscript7-commfont SUBDIR += ghostscript7-jpnfont SUBDIR += ghostscript7-korfont SUBDIR += ghostscript7-nox11 SUBDIR += ghostscript8 SUBDIR += ghostscript8-nox11 SUBDIR += ghostscript9 SUBDIR += ghostscript9-agpl SUBDIR += ghostscript9-agpl-nox11 SUBDIR += ghostscript9-nox11 SUBDIR += gimp-gutenprint SUBDIR += gl2ps SUBDIR += gnome-cups-manager SUBDIR += gnome-specimen SUBDIR += gnomephotoprinter SUBDIR += gribouy SUBDIR += gsfonts SUBDIR += gspdf SUBDIR += gsview SUBDIR += gtklp SUBDIR += gutenprint SUBDIR += gutenprint-base SUBDIR += gutenprint-cups SUBDIR += gutenprint-foomatic SUBDIR += gutenprint-ijs SUBDIR += gv SUBDIR += harfbuzz SUBDIR += hp2xx SUBDIR += hpijs SUBDIR += hplip SUBDIR += hplip-plugin SUBDIR += hs-hscolour SUBDIR += html2latex SUBDIR += html2ps SUBDIR += hyperlatex SUBDIR += indexinfo SUBDIR += jabref SUBDIR += kde4-print-manager SUBDIR += kde_poster SUBDIR += kover SUBDIR += kpdftool SUBDIR += latex-ltablex SUBDIR += latex-resume SUBDIR += latex2rtf SUBDIR += latexdiff + SUBDIR += lgrind SUBDIR += libgnomecups SUBDIR += libgnomeprint SUBDIR += libgnomeprint-reference SUBDIR += libgnomeprintmm SUBDIR += libharu SUBDIR += libijs SUBDIR += libmspub01 SUBDIR += libotf SUBDIR += libpaper SUBDIR += libppd SUBDIR += libspectre SUBDIR += lilypond SUBDIR += lilypond-devel SUBDIR += linux-c6-cups-libs SUBDIR += linux-f10-cups-libs SUBDIR += lout SUBDIR += lpr-wrapper SUBDIR += lprps SUBDIR += lyx SUBDIR += magicfilter SUBDIR += makeindex SUBDIR += mftrace SUBDIR += min12xxw SUBDIR += mp-a4 SUBDIR += mp-letter SUBDIR += mpage SUBDIR += mup SUBDIR += musixtex SUBDIR += muttprint SUBDIR += nenscript SUBDIR += openprinting SUBDIR += p5-Font-FreeType SUBDIR += p5-Net-CUPS SUBDIR += p5-Net-Printer SUBDIR += p5-PDF-Template SUBDIR += p5-PDFLib SUBDIR += p5-PostScript SUBDIR += p5-PostScript-PPD SUBDIR += p5-PostScript-Simple SUBDIR += p5-Text-PDF SUBDIR += p5-XML-ApacheFOP SUBDIR += p910nd SUBDIR += panda SUBDIR += papersize-default-a4 SUBDIR += papersize-default-letter SUBDIR += paps SUBDIR += pcal SUBDIR += pdf-renderer SUBDIR += pdf4tcl SUBDIR += pdfbox SUBDIR += pdfcube SUBDIR += pdflib SUBDIR += pdflib-perl SUBDIR += pdftk SUBDIR += pear-File_PDF SUBDIR += pecl-haru SUBDIR += pecl-pdflib SUBDIR += pecl-ps SUBDIR += pfbtopfa SUBDIR += photoprint SUBDIR += pic2fig SUBDIR += pkfonts118 SUBDIR += pkfonts240 SUBDIR += pkfonts300 SUBDIR += pkfonts360 SUBDIR += pkfonts400 SUBDIR += pkfonts600 SUBDIR += pkipplib SUBDIR += pkpgcounter SUBDIR += pmw SUBDIR += poster SUBDIR += ps2eps SUBDIR += pscal SUBDIR += psdim SUBDIR += pslib SUBDIR += pstotext SUBDIR += psutils SUBDIR += pup SUBDIR += py-cups SUBDIR += py-fonttools SUBDIR += py-pdf SUBDIR += py-pollyreports SUBDIR += py-preppy SUBDIR += py-pyscript SUBDIR += py-relatorio SUBDIR += py-reportlab SUBDIR += py-reportlab1 SUBDIR += py-reportlab2 SUBDIR += py-rtf SUBDIR += py-trml2pdf SUBDIR += qpdf SUBDIR += qpdfview SUBDIR += qt5-printsupport SUBDIR += rlpr SUBDIR += rprint SUBDIR += rtf2latex2e SUBDIR += rubygem-afm SUBDIR += rubygem-color SUBDIR += rubygem-colortools SUBDIR += rubygem-pdf-core SUBDIR += rubygem-pdf-reader SUBDIR += rubygem-pdfwriter SUBDIR += rubygem-prawn SUBDIR += rubygem-prawn-core SUBDIR += rubygem-prawn-flexible-table SUBDIR += rubygem-prawn-format SUBDIR += rubygem-prawn-graph SUBDIR += rubygem-prawn-js SUBDIR += rubygem-prawn-layout SUBDIR += rubygem-prawn-security SUBDIR += rubygem-prawn-svg SUBDIR += rubygem-ttfunk SUBDIR += scribus SUBDIR += sgf2tex SUBDIR += splix SUBDIR += system-config-printer SUBDIR += t1utils SUBDIR += tex SUBDIR += tex-aleph SUBDIR += tex-dvipdfmx SUBDIR += tex-dvipsk SUBDIR += tex-formats SUBDIR += tex-jadetex SUBDIR += tex-luatex SUBDIR += tex-ptexenc SUBDIR += tex-xdvik SUBDIR += tex-xetex SUBDIR += tex-xmltex SUBDIR += texinfo SUBDIR += texlive-base SUBDIR += texlive-docs SUBDIR += texlive-full SUBDIR += texlive-infra SUBDIR += texlive-texmf SUBDIR += texlive-texmf-source SUBDIR += texvc SUBDIR += tgif2tex SUBDIR += transfig SUBDIR += trueprint SUBDIR += ttf2pt1 SUBDIR += ttfquery SUBDIR += ttftot42 SUBDIR += txtbdf2ps SUBDIR += typetools SUBDIR += utopia SUBDIR += xfce4-print SUBDIR += xmbibtex SUBDIR += xpp SUBDIR += xtexsh SUBDIR += yatex .include Index: head/print/lgrind/Makefile =================================================================== --- head/print/lgrind/Makefile (nonexistent) +++ head/print/lgrind/Makefile (revision 374916) @@ -0,0 +1,37 @@ +# Created by: Kay Lehmann +# $FreeBSD$ + +PORTNAME= lgrind +PORTVERSION= 3.67 +PORTREVISION= 8 +CATEGORIES= print +MASTER_SITES= http://mirrors.ctan.org/support/ +DISTNAME= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Produce beautiful listings of source code with LaTeX + +USE_TEX= latex texhash + +USES= zip + +RESTRICTED= According to the README-file there is a license issue \ + because of non-free code. Check the README file within \ + the source tarball. No response from author of some code \ + this port is based on. + +post-patch: +# PREFIX safeness + @${REINPLACE_CMD} -E \ + -e s'|^(BASEDIR).*$$|\1=${STAGEDIR}${PREFIX}|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -E \ + -e s'|%%PREFIX%%|${PREFIX}|' \ + ${WRKSRC}/Makefile +# C{C,FLAGS} safeness + @${REINPLACE_CMD} -E \ + -e s'|^(CC).*$$|\1=${CC}|' \ + -e s'|^(CFLAGS).*$$|\1=${CFLAGS}|' \ + ${WRKSRC}/source/Makefile + +.include Property changes on: head/print/lgrind/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/lgrind/distinfo =================================================================== --- head/print/lgrind/distinfo (nonexistent) +++ head/print/lgrind/distinfo (revision 374916) @@ -0,0 +1,2 @@ +SHA256 (lgrind.zip) = f946615b77f790e8f43b857d268fa705b2f76a8d986e3f10025a5c2f67b11074 +SIZE (lgrind.zip) = 245984 Property changes on: head/print/lgrind/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/lgrind/files/patch-Makefile =================================================================== --- head/print/lgrind/files/patch-Makefile (nonexistent) +++ head/print/lgrind/files/patch-Makefile (revision 374916) @@ -0,0 +1,25 @@ +--- Makefile.orig 2001-11-04 11:24:00.000000000 -0500 ++++ Makefile 2014-12-16 19:19:03.000000000 -0500 +@@ -4,9 +4,10 @@ + + BASEDIR=/usr + #DEFSFILE=${HOME}/Work/lgrind/lgrindef +-DEFSFILE=$(BASEDIR)/share/texmf/tex/latex/lgrind/lgrindef +-TEXFILEDIR=$(BASEDIR)/share/texmf/tex/latex/lgrind +-DOCDIR=$(BASEDIR)/doc/lgrind ++DEFSFILE=$(BASEDIR)/share/texmf-dist/tex/latex/lgrind/lgrindef ++DEFSFILE_REAL=%%PREFIX%%/share/texmf-dist/tex/latex/lgrind/lgrindef ++TEXFILEDIR=$(BASEDIR)/share/texmf-dist/tex/latex/lgrind ++DOCDIR=$(BASEDIR)/share/texmf-dist/doc/latex/lgrind + + INSTALL=install + SOURCES=lgrind.c lgutil.c regexp.c regexp.h lgrindef.c lgrindef.h retest.c v2lg.c +@@ -28,7 +29,7 @@ + + lgrind: + cd source; \ +- make DEFSFILE=$(DEFSFILE) BASEDIR=$(BASEDIR) INSTALL=$(INSTALL) VERSION=$(VERSION) ++ make DEFSFILE=$(DEFSFILE_REAL) BASEDIR=$(BASEDIR) INSTALL=$(INSTALL) VERSION=$(VERSION) + + clean: + rm -f lgrind.log Property changes on: head/print/lgrind/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/lgrind/files/patch-lgutil_c =================================================================== --- head/print/lgrind/files/patch-lgutil_c (nonexistent) +++ head/print/lgrind/files/patch-lgutil_c (revision 374916) @@ -0,0 +1,20 @@ +--- source/lgutil.c.orig 2001-11-04 11:24:00.000000000 -0500 ++++ source/lgutil.c 2014-11-26 20:33:37.000000000 -0500 +@@ -113,7 +113,7 @@ + check=0; + if (*config=='\n' || config[strlen(config)-2]!='\\') + check=1; +- if (fgets(config, BUFFERSIZE, tf)==NULL) break; ++ if (fgets(config, sizeof config, tf)==NULL) break; + if (check!=0) AddToLList(config, &currlch, &llch); + } while (strcmp((*currlch).name, "EndOfLanguageDefinitions")!=0); + rch=lch; +@@ -277,7 +277,7 @@ + char linebuf[201], *cp; + varsubst *varsubsts=NULL, *substitem, *substlistpos; + +- if (f==NULL) return; ++ if (f==NULL) return NULL; + while (!feof(f)) + { + fscanf(f, "%200[^\n]", linebuf); Property changes on: head/print/lgrind/files/patch-lgutil_c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/lgrind/files/patch-source_Makefile =================================================================== --- head/print/lgrind/files/patch-source_Makefile (nonexistent) +++ head/print/lgrind/files/patch-source_Makefile (revision 374916) @@ -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 Property changes on: head/print/lgrind/files/patch-source_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/lgrind/files/patch-source_lgrind.c =================================================================== --- head/print/lgrind/files/patch-source_lgrind.c (nonexistent) +++ head/print/lgrind/files/patch-source_lgrind.c (revision 374916) @@ -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 + #include + #include +-#include ++/*#include */ + #include + /* One of the following two (depending on your system) */ + #include Property changes on: head/print/lgrind/files/patch-source_lgrind.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/lgrind/files/patch-source_regexp.c =================================================================== --- head/print/lgrind/files/patch-source_regexp.c (nonexistent) +++ head/print/lgrind/files/patch-source_regexp.c (revision 374916) @@ -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 +-#include ++#include + #include + #include + #include "regexp.h" Property changes on: head/print/lgrind/files/patch-source_regexp.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/lgrind/pkg-descr =================================================================== --- head/print/lgrind/pkg-descr (nonexistent) +++ head/print/lgrind/pkg-descr (revision 374916) @@ -0,0 +1,9 @@ +LGrind is a descendant of the Unix utility vgrind. It is +used to produce a beautified version of your source code using LaTeX. Unlike +other packages this is not pure TeX but an external preprocessor. You run e.g. + lgrind example.c > example.tex + latex example.tex +to get a complete listing. Options for producing includable files and pro- +cessing embedded listings in LaTeX texts are provided. + +WWW: http://www.ctan.org/pkg/lgrind Property changes on: head/print/lgrind/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/lgrind/pkg-plist =================================================================== --- head/print/lgrind/pkg-plist (nonexistent) +++ head/print/lgrind/pkg-plist (revision 374916) @@ -0,0 +1,6 @@ +bin/lgrind +share/texmf-dist/doc/latex/lgrind/lgrind.dvi +share/texmf-dist/tex/latex/lgrind/lgrind.sty +share/texmf-dist/tex/latex/lgrind/lgrindef +man/man1/lgrind.1.gz +man/man5/lgrindef.5.gz Property changes on: head/print/lgrind/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property