aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/indxbib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/groff/indxbib/Makefile')
-rw-r--r--gnu/usr.bin/groff/indxbib/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/indxbib/Makefile b/gnu/usr.bin/groff/indxbib/Makefile
new file mode 100644
index 000000000000..de95d7765b34
--- /dev/null
+++ b/gnu/usr.bin/groff/indxbib/Makefile
@@ -0,0 +1,20 @@
+# Makefile for indxbib
+
+PROG= indxbib
+SRCS= indxbib.cc dirnamemax.c signal.c
+CFLAGS+= -I$(.CURDIR)/../include
+CXXFLAGS+= -I$(.CURDIR)/../include
+LDADD+= $(LIBBIB) $(LIBGROFF) -lm
+DPADD+= $(LIBBIB) $(LIBGROFF) $(LIBMATH)
+
+# Ugh - I can't grab /usr/share from ../../../share/Makefile.inc
+# since I've already grabbed a BINDIR file for installing indxbib.
+# Sigh... Hardcode it. - jkh
+#
+afterinstall:
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/eign \
+ $(DESTDIR)/usr/share/dict
+
+.include "../../../usr.bin/Makefile.inc"
+.include "../Makefile.cfg"
+.include <bsd.prog.mk>