aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordburr <dburr@FreeBSD.org>1998-07-21 07:55:36 +0800
committerdburr <dburr@FreeBSD.org>1998-07-21 07:55:36 +0800
commit4a9ecccac27931575e8030e5e9571a15c26e2a1b (patch)
treed0fe30119dc0f98a5fbef0307ea4ab2f6b2518d3
parent5dc5ab0abcb8d4859824a6565bef3a003301b002 (diff)
downloadfreebsd-ports-gnome-4a9ecccac27931575e8030e5e9571a15c26e2a1b.tar.gz
freebsd-ports-gnome-4a9ecccac27931575e8030e5e9571a15c26e2a1b.tar.zst
freebsd-ports-gnome-4a9ecccac27931575e8030e5e9571a15c26e2a1b.zip
PR: ports/4974
Submitted by: me Import of new port textproc/yodl, an easy to use but powerful document formatting/preparation language.
-rw-r--r--textproc/yodl/Makefile46
-rw-r--r--textproc/yodl/distinfo1
-rw-r--r--textproc/yodl/files/patch-aa63
-rw-r--r--textproc/yodl/pkg-comment1
-rw-r--r--textproc/yodl/pkg-descr8
-rw-r--r--textproc/yodl/pkg-plist37
6 files changed, 156 insertions, 0 deletions
diff --git a/textproc/yodl/Makefile b/textproc/yodl/Makefile
new file mode 100644
index 000000000000..0cf8c6c722e1
--- /dev/null
+++ b/textproc/yodl/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: yodl
+# Version required: 1.22
+# Date created: 22 Oct 1997
+# Whom: Donald Burr <dburr@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= yodl-1.22
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.icce.rug.nl/pub/unix/
+
+MAINTAINER= dburr@FreeBSD.ORG
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash1 \
+ latex:${PORTSDIR}/print/latex \
+ dvips:${PORTSDIR}/print/dvips
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash1 \
+ latex:${PORTSDIR}/print/latex \
+ dvips:${PORTSDIR}/print/dvips
+
+USE_GMAKE= YES
+
+MAN1= yodl.1 \
+ striproff.1 \
+ yodlconverters.1
+MAN5= yodl.5
+MAN7= yodlmacros.7 \
+ yodlmanpage.7
+
+do-build:
+ (cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} progs)
+ (cd ${WRKSRC}/misc && gcc -O2 -m486 -s -o striproff striproff.c)
+
+# this weird contortion is because the YODL makefile is broken
+# trust me, it works.
+do-install:
+ @echo "*** NOTE: any errors from make can be safely ignored."
+ (cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} install)
+ -(cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} manpages)
+ (cd ${WRKSRC}/manpages && ${GMAKE} PREFIX=${PREFIX} manpages)
+ (cd ${WRKSRC}/manpages && ${GMAKE} PREFIX=${PREFIX} MANPREFIX=${PREFIX}/man installman)
+ (cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} installmanual)
+ (cd ${WRKSRC}/misc && ${INSTALL_PROGRAM} striproff ${PREFIX}/bin/striproff)
+
+.include <bsd.port.mk>
diff --git a/textproc/yodl/distinfo b/textproc/yodl/distinfo
new file mode 100644
index 000000000000..a7a347a5a160
--- /dev/null
+++ b/textproc/yodl/distinfo
@@ -0,0 +1 @@
+MD5 (yodl-1.22.tar.gz) = 870da39805a0063630d085e49d48de64
diff --git a/textproc/yodl/files/patch-aa b/textproc/yodl/files/patch-aa
new file mode 100644
index 000000000000..556334bf1add
--- /dev/null
+++ b/textproc/yodl/files/patch-aa
@@ -0,0 +1,63 @@
+--- Makefile.old Wed Oct 29 04:20:09 1997
++++ Makefile Mon Jul 20 16:34:44 1998
+@@ -6,21 +6,21 @@
+
+ # A `lib' directory under which ...../yodl will be attached, as the
+ # system-wide include directory for macros of the yodl program?
+-LIBDIR=/usr/local/lib
++LIBDIR=${PREFIX}/lib
+
+ # To what directory are the yodl program and all shell scripts installed?
+-BINDIR = /usr/local/bin
++BINDIR = ${PREFIX}/bin
+
+ # Where do your man pages go? MANPREFIX is where the subdirs man1, man2 etc.
+ # are located, CATPREFIX is where subdirs cat1, cat2 etc. are, that's
+ # where formatted pages go.
+-MANPREFIX=/usr/man
+-CATPREFIX=/var/man
++MANPREFIX=${PREFIX}/man
++CATPREFIX=${PREFIX}/man
+
+ # What's your LaTeX command? The shellscript "yodl2dvi" will run "yodl2tex" and
+ # your LaTeX-er for you, creating the .dvi file. LaTeX is also used in
+ # "make dvidoc" and "make psdoc".
+-LATEX = mlatex
++LATEX = latex
+
+ # What's your command to process a manpage into a format that's suitable
+ # for viewing? Command should take one file argument and send the output
+@@ -37,13 +37,13 @@
+
+ # What's your pager, a-la "less"? Will be used in the "yodl2manless"
+ # and "yodl2msless" scripts that show groff output in ASCII via a pager.
+-LESS = less
++LESS = more
+
+ # The C compiler?
+ CC = cc
+
+ # Compiler flags?
+-CFLAGS = -g -c -Wall
++CFLAGS = -O2 -m486 -c -Wall
+
+ # Installation program? If you don't have install, make sure that you state
+ # something that also strips executables.
+@@ -70,7 +70,7 @@
+ SROFF = $(BINDIR)/striproff
+
+ # If you also want the manpage under $(MANPREFIX)/man1, uncomment:
+-# SROFFMAN = $(MANPREFIX)/man1/striproff.1
++SROFFMAN = $(MANPREFIX)/man1/striproff.1
+
+ # Additionally, if you want the preformatted manpage under $(CATPREFIX)/cat1,
+ # uncomment:
+@@ -81,7 +81,7 @@
+ # shell will do too, but I suggest that you get bash if you don't have it
+ # yet. I have it installed as /bin/sh, lucky me.
+ # Define the path of your bash below:
+-BASH = /bin/sh
++BASH = ${PREFIX}/bin/bash
+
+ # Some systems seem to lack the function strerror() (I've heard of SunOS 4.1.4
+ # with GCC 2.6). If that's the case, uncomment the following:
diff --git a/textproc/yodl/pkg-comment b/textproc/yodl/pkg-comment
new file mode 100644
index 000000000000..1443e3586932
--- /dev/null
+++ b/textproc/yodl/pkg-comment
@@ -0,0 +1 @@
+An easy to use but powerful document formatting/preparation language
diff --git a/textproc/yodl/pkg-descr b/textproc/yodl/pkg-descr
new file mode 100644
index 000000000000..d64724e680ee
--- /dev/null
+++ b/textproc/yodl/pkg-descr
@@ -0,0 +1,8 @@
+YODL - Yet Oneother Document Language, an easy to use but powerful document
+preparation language with converters for ASCII, man, latex, SGML, and HTML.
+
+YODL implements an easy-to-use, yet powerful document preparation language.
+It also includes converters to convert documents written in that language to
+several formats, including ASCII, man page format, LaTeX, dvi, SGML, and HTML.
+
+[ This port is maintained by Donald Burr <dburr@FreeBSD.ORG>. ]
diff --git a/textproc/yodl/pkg-plist b/textproc/yodl/pkg-plist
new file mode 100644
index 000000000000..2308e5acde0a
--- /dev/null
+++ b/textproc/yodl/pkg-plist
@@ -0,0 +1,37 @@
+bin/yodl
+bin/yodl2whatever
+bin/yodl2dvi
+bin/yodl2manless
+bin/yodl2msless
+bin/yodl2msps
+bin/yodl2tex
+bin/yodl2html
+bin/yodl2sgml
+bin/yodl2txt
+bin/yodl2man
+bin/yodl2ms
+bin/striproff
+lib/yodl/chartables
+lib/yodl/yodl2html-post
+lib/yodl/yodlfixlabels
+lib/yodl/yodl2txt-post
+lib/yodl/yodl2man-post
+lib/yodl/yodl2ms-post
+lib/yodl/aux-macros.yo
+lib/yodl/disable-commands.yo
+lib/yodl/html.yo
+lib/yodl/man.yo
+lib/yodl/ms.yo
+lib/yodl/output-commands.yo
+lib/yodl/sgml.yo
+lib/yodl/shared.yo
+lib/yodl/tex.yo
+lib/yodl/txt.yo
+lib/yodl/xlatin1.tex
+@dirrm lib/yodl
+man/man1/striproff.1.gz
+man/man1/yodl.1.gz
+man/man1/yodlconverters.1.gz
+man/man5/yodl.5.gz
+man/man7/yodlmacros.7.gz
+man/man7/yodlmanpage.7.gz