aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1996-09-08 01:21:19 +0000
committerPaul Traina <pst@FreeBSD.org>1996-09-08 01:21:19 +0000
commite72c5689b07b95fb040ad0a051840a2c51f6e0dc (patch)
tree2408f8fde94c74facc710206cf89cff2cb26c174 /gnu
parentc8f36f3496772a01ab3b0b973fdcf87c81c5166d (diff)
downloadsrc-e72c5689b07b95fb040ad0a051840a2c51f6e0dc.tar.gz
src-e72c5689b07b95fb040ad0a051840a2c51f6e0dc.zip
Initial revision
Notes
Notes: svn path=/head/; revision=18138
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/groff/Makefile.inc4
-rw-r--r--gnu/usr.bin/groff/devlj4/Makefile30
-rw-r--r--gnu/usr.bin/groff/grolj4/Makefile13
3 files changed, 47 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/Makefile.inc b/gnu/usr.bin/groff/Makefile.inc
new file mode 100644
index 000000000000..f7bc62ece47e
--- /dev/null
+++ b/gnu/usr.bin/groff/Makefile.inc
@@ -0,0 +1,4 @@
+GROFF_DIST?= ${.CURDIR}/../../../../contrib/groff
+DISTDIR= ${GROFF_DIST}/${.CURDIR:T}
+
+.PATH: ${DISTDIR}
diff --git a/gnu/usr.bin/groff/devlj4/Makefile b/gnu/usr.bin/groff/devlj4/Makefile
new file mode 100644
index 000000000000..d14a2377bf9d
--- /dev/null
+++ b/gnu/usr.bin/groff/devlj4/Makefile
@@ -0,0 +1,30 @@
+DEV= lj4
+LJ4RES= 300
+LJ4PRINT= $(PSPRINT)
+DEVFILES= $(FONTS) $(SUPPORT) $(DEVGENFILES) DESC
+FONTS= ALBB ALBR AOB AOI AOR CB CBI CI CR GB GBI GI GR \
+ LGB LGI LGR OB OBI OI OR TB TBI TI TR UB UBI UI UR \
+ UCB UCBI UCI UCR CLARENDON CORONET MARIGOLD S
+#DEVGENFILES= generate/Makefile generate/text.map generate/special.map
+CLEANFILES+= DESC
+
+.include "../Makefile.inc"
+
+DESC: DESC.in
+ -rm -f DESC
+ echo "res $(LJ4RES)" >DESC
+ echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>DESC
+ cat ${DISTDIR}/DESC.in >>DESC
+ if test "$(PAGE)" = A4; then \
+ echo "papersize a4" >>DESC; \
+ else \
+ echo "papersize letter" >>DESC; \
+ fi
+ test -z '$(LJ4PRINT)' || echo print '$(LJ4PRINT)' >>DESC
+
+fonts: DESC
+ $(MAKE) -f ${DISTDIR}/generate/Makefile \
+ srcdir=${DISTDIR}/generate DESC=${DISTDIR}/DESC.in \
+ HPFTODIT=${.CURDIR}/../hpftodit/hpftodit
+
+.include "../Makefile.dev"
diff --git a/gnu/usr.bin/groff/grolj4/Makefile b/gnu/usr.bin/groff/grolj4/Makefile
new file mode 100644
index 000000000000..b5594e616c38
--- /dev/null
+++ b/gnu/usr.bin/groff/grolj4/Makefile
@@ -0,0 +1,13 @@
+# Makefile for grolj4
+
+PROG= grolj4
+SRCS= lj4.cc
+#CFLAGS+= -I${.CURDIR}/../include
+LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm
+DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
+
+MANDEPEND= grolj4.1
+CLEANFILES+= ${MANDEPEND}
+
+.include "../Makefile.cfg"
+.include <bsd.prog.mk>