aboutsummaryrefslogtreecommitdiff
path: root/gnu/groff/xditview/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/groff/xditview/Makefile')
-rw-r--r--gnu/groff/xditview/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/groff/xditview/Makefile b/gnu/groff/xditview/Makefile
new file mode 100644
index 000000000000..fa0590d0e5a1
--- /dev/null
+++ b/gnu/groff/xditview/Makefile
@@ -0,0 +1,17 @@
+.if exists(${DESTDIR}/usr/X386)
+
+BINDIR= /usr/X386/bin
+MANDIR= /usr/X386/man/man
+
+PROG= gxditview
+CFLAGS+= -I/usr/X386/include -DFONTPATH=\"/usr/share/groff_font\"
+SRCS+= xditview.c Dvi.c draw.c font.c lex.c page.c parse.c \
+ XFontName.c DviChar.c device.c
+LDADD+= -L/usr/X386/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
+
+afterinstall:
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/GXditview.ad \
+ $(DESTDIR)/usr/X386/lib/X11/app-defaults/GXditview
+.endif
+
+.include <bsd.prog.mk>