aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2002-05-16 06:37:50 +0800
committercy <cy@FreeBSD.org>2002-05-16 06:37:50 +0800
commit253c6d48919285ced988bcdb31f93029de76d126 (patch)
tree150107491444ffe54a5bcc1bc0066e35273239ff
parentbc5293c4234f304b1ecb7820daa5f983bfb9675c (diff)
downloadfreebsd-ports-graphics-253c6d48919285ced988bcdb31f93029de76d126.tar.gz
freebsd-ports-graphics-253c6d48919285ced988bcdb31f93029de76d126.tar.zst
freebsd-ports-graphics-253c6d48919285ced988bcdb31f93029de76d126.zip
Add lgrind 3.67, produce beautiful listings of source code with LaTeX.
PR: 37553 Submitted by: Kay Lehmann
-rw-r--r--print/Makefile1
-rw-r--r--print/lgrind/Makefile94
-rw-r--r--print/lgrind/distinfo24
-rw-r--r--print/lgrind/pkg-comment1
-rw-r--r--print/lgrind/pkg-descr12
-rw-r--r--print/lgrind/pkg-plist6
6 files changed, 138 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index b723892e080..7ba0573b24c 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -79,6 +79,7 @@
SUBDIR += ktexshell
SUBDIR += latex
SUBDIR += latex2rtf
+ SUBDIR += lgrind
SUBDIR += libgnomeprint
SUBDIR += libijs
SUBDIR += lilypond
diff --git a/print/lgrind/Makefile b/print/lgrind/Makefile
new file mode 100644
index 00000000000..73054b99940
--- /dev/null
+++ b/print/lgrind/Makefile
@@ -0,0 +1,94 @@
+# New ports collection makefile for: lgrind
+# Date created: 20 April 2002
+# Whom: Kay Lehmann
+#
+# $FreeBSD$
+#
+
+PORTNAME= lgrind
+PORTVERSION= 3.67
+CATEGORIES= print
+#MASTER_SITES= ftp://ftp.dante.de/tex-archive/support/ \
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR=support
+DISTNAME= ${PORTNAME}
+DISTFILES= ${PORTNAME}/source/Makefile \
+ ${PORTNAME}/source/README \
+ ${PORTNAME}/FAQ \
+ ${PORTNAME}/README \
+ ${PORTNAME}/Makefile \
+ ${PORTNAME}/lgrind.dtx \
+ ${PORTNAME}/lgrind.dtx \
+ ${PORTNAME}/lgrind.gls \
+ ${PORTNAME}/lgrind.ind \
+ ${PORTNAME}/lgrind.ins \
+ ${PORTNAME}/lgrindef \
+ ${PORTNAME}/source/lgrind.1 \
+ ${PORTNAME}/source/lgrind.c \
+ ${PORTNAME}/source/lgrindef.5 \
+ ${PORTNAME}/source/lgrindef.c \
+ ${PORTNAME}/source/lgrindef.h \
+ ${PORTNAME}/source/lgutil.c \
+ ${PORTNAME}/source/regexp.c \
+ ${PORTNAME}/source/regexp.h \
+ ${PORTNAME}/source/retest.c \
+ ${PORTNAME}/source/v2lg.c
+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
+
+MAINTAINER= kay_lehmann@web.de
+
+BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+MAN1= lgrind.1
+MAN5= lgrindef.5
+MANCOMPRESSED= yes
+
+IGNOREFILES= ${PORTNAME}.tar.gz
+
+NO_CDROM= "According to the README-file there is a license issue because of non-free code. Check the README file within the source tarball."
+NO_PACKAGE= "According to the README-file there is a license issue because of non-free code. Check the README file within the source tarball."
+RESTRICTED= "No response from author of some code this port is based on"
+
+pre-everything:
+ @${MKDIR} ${DISTDIR}/${PORTNAME}
+
+pre-fetch: fetchsrctarball extractsrctarball
+
+fetchtarball-list:
+ file=${PORTNAME}${EXTRACT_SUFX}; \
+ for site in ${MASTER_SITES:S^%SUBDIR%^${MASTER_SITE_SUBDIR}^}; do \
+ ${ECHO_MSG} ">>${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}$${file} not fetched"; \
+ done;
+
+fetchsrctarball:
+ @cd ${_DISTDIR}; \
+ file=${PORTNAME}${EXTRACT_SUFX}; \
+ if [ -e $$file ]; then \
+ exit; \
+ fi; \
+ ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \
+ for site in ${MASTER_SITES:S^%SUBDIR%^${MASTER_SITE_SUBDIR}^}; do \
+ ${ECHO_MSG} ">> Attempting to fetch from $${site}."; \
+ if ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \
+ $${site}$${file}; then \
+ exit; \
+ fi; \
+ done; \
+ ${ECHO_MSG} ">> Couldn't fetch $$file."; \
+ ${ECHO_MSG} ">> Please try to retrieve this file manually into"; \
+ ${ECHO_MSG} ">> ${_DISTDIR} and try again."; \
+ exit 1
+
+extractsrctarball:
+ ${GUNZIP_CMD} -qc ${DISTDIR}/${DIST_SUBDIR}/${IGNOREFILES} | tar -C ${DISTDIR}/${DIST_SUBDIR} -xf -; \
+ exit
+
+post-install:
+ texhash
+
+.include <bsd.port.mk>
diff --git a/print/lgrind/distinfo b/print/lgrind/distinfo
new file mode 100644
index 00000000000..bf4a07e1c44
--- /dev/null
+++ b/print/lgrind/distinfo
@@ -0,0 +1,24 @@
+MD5 (lgrind/lgrind/source/Makefile) = 5bf48224abbf95e03a2334dbddfe3c2f
+MD5 (lgrind/lgrind/source/README) = 7f3194949934899a39d6f8ad46d15b38
+MD5 (lgrind/lgrind/FAQ) = 59bbc66ad71442643615c274987c1cd8
+MD5 (lgrind/lgrind/README) = 89faf125af972e79078ba842057e3d99
+MD5 (lgrind/lgrind/Makefile) = 6be800c48c6d22d4531f7393ba44358a
+MD5 (lgrind/lgrind/lgrind.dtx) = 269fff63a9e74fc902ae7918aa1bade6
+MD5 (lgrind/lgrind/lgrind.dtx) = 269fff63a9e74fc902ae7918aa1bade6
+MD5 (lgrind/lgrind/lgrind.gls) = 109656472587f964e38761151065bb27
+MD5 (lgrind/lgrind/lgrind.ind) = d334365cd29d045f954db0b07012d5fb
+MD5 (lgrind/lgrind/lgrind.ins) = 29bdba0fce73f4ab6874f504e0da6005
+MD5 (lgrind/lgrind/lgrindef) = b6a08a755f5060a12b477d5a6163da77
+MD5 (lgrind/lgrind/source/lgrind.1) = 53cd7317325415290ecc36870820dacf
+MD5 (lgrind/lgrind/source/lgrind.c) = 41b2bbb97d89b7bfb938a6b0b08e936d
+MD5 (lgrind/lgrind/source/lgrindef.5) = 7f9ed379946123b7af01386b0b633864
+MD5 (lgrind/lgrind/source/lgrindef.c) = f16c1679c4a1097ad0fba2edec5e4a78
+MD5 (lgrind/lgrind/source/lgrindef.h) = d2aae5bbd246784176b9c5394fa097f1
+MD5 (lgrind/lgrind/source/lgutil.c) = 638f3495d8b34ee9756b1e319b45292c
+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/lgrind.tar.gz) = IGNORE
diff --git a/print/lgrind/pkg-comment b/print/lgrind/pkg-comment
new file mode 100644
index 00000000000..f36f4c959a9
--- /dev/null
+++ b/print/lgrind/pkg-comment
@@ -0,0 +1 @@
+Produce beautiful listings of source code with LaTeX
diff --git a/print/lgrind/pkg-descr b/print/lgrind/pkg-descr
new file mode 100644
index 00000000000..6f2f3be50bc
--- /dev/null
+++ b/print/lgrind/pkg-descr
@@ -0,0 +1,12 @@
+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: ftp://ftp.dante.de/tex-archive/help/Catalogue/entries/lgrind.html
+
+- Lehmann
+kay_lehmann@web.de
diff --git a/print/lgrind/pkg-plist b/print/lgrind/pkg-plist
new file mode 100644
index 00000000000..7fc316a0d55
--- /dev/null
+++ b/print/lgrind/pkg-plist
@@ -0,0 +1,6 @@
+bin/lgrind
+share/texmf/tex/latex/lgrind/lgrind.sty
+share/texmf/tex/latex/lgrind/lgrindef
+share/texmf/doc/latex/lgrind/lgrind.dvi
+@dirrm share/texmf/tex/latex/lgrind
+@dirrm share/texmf/doc/latex/lgrind