[Midnightbsd-cvs] src [9739] trunk/usr.bin/mandoc: fix conditional install
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Jan 19 00:04:36 EST 2018
Revision: 9739
http://svnweb.midnightbsd.org/src/?rev=9739
Author: laffer1
Date: 2018-01-19 00:04:36 -0500 (Fri, 19 Jan 2018)
Log Message:
-----------
fix conditional install
Added Paths:
-----------
trunk/usr.bin/mandoc/
trunk/usr.bin/mandoc/Makefile
Added: trunk/usr.bin/mandoc/Makefile
===================================================================
--- trunk/usr.bin/mandoc/Makefile (rev 0)
+++ trunk/usr.bin/mandoc/Makefile 2018-01-19 05:04:36 UTC (rev 9739)
@@ -0,0 +1,101 @@
+# $MidnightBSD$
+# $FreeBSD: head/usr.bin/mandoc/Makefile 321810 2017-07-31 19:34:38Z bapt $
+
+.include <bsd.own.mk>
+
+MDOCMLDIR= ${.CURDIR}/../../contrib/mandoc
+.PATH: ${MDOCMLDIR}
+
+PROG= mandoc
+MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 # roff.7
+MLINKS= mandoc.1 mdocml.1
+.if ${MK_MAN_UTILS} != no
+MAN+= apropos.1 makewhatis.8
+MLINKS+= apropos.1 whatis.1
+LINKS= ${BINDIR}/mandoc ${BINDIR}/whatis \
+ ${BINDIR}/mandoc ${BINDIR}/makewhatis \
+ ${BINDIR}/mandoc ${BINDIR}/apropos
+.endif
+
+LIBMAN_SRCS= man.c \
+ man_macro.c \
+ man_validate.c
+
+LIBMDOC_SRCS= att.c \
+ lib.c \
+ mdoc.c \
+ mdoc_argv.c \
+ mdoc_macro.c \
+ mdoc_markdown.c \
+ mdoc_state.c \
+ mdoc_validate.c \
+ st.c \
+
+LIBROFF_SRCS= eqn.c \
+ roff.c \
+ roff_html.c \
+ roff_term.c \
+ roff_validate.c \
+ tbl.c \
+ tbl_data.c \
+ tbl_layout.c \
+ tbl_opts.c \
+
+LIB_SRCS= ${LIBMAN_SRCS} \
+ ${LIBMDOC_SRCS} \
+ ${LIBROFF_SRCS} \
+ chars.c \
+ mandoc.c \
+ mandoc_aux.c \
+ mandoc_ohash.c \
+ mandoc_xr.c \
+ msec.c \
+ preconv.c \
+ read.c \
+ compat_recallocarray.c \
+
+HTML_SRCS= eqn_html.c \
+ html.c \
+ man_html.c \
+ mdoc_html.c \
+ tbl_html.c
+
+MAN_SRCS= mdoc_man.c
+
+TERM_SRCS= eqn_term.c \
+ man_term.c \
+ mdoc_term.c \
+ term.c \
+ term_ascii.c \
+ term_ps.c \
+ term_tab.c \
+ tbl_term.c
+
+DBM_SRCS= dbm.c \
+ dbm_map.c \
+ mansearch.c
+
+DBA_SRCS= dba.c \
+ dba_array.c \
+ dba_read.c \
+ dba_write.c \
+ mandocdb.c
+
+SRCS= ${LIB_SRCS} \
+ ${HTML_SRCS} \
+ ${MAN_SRCS} \
+ ${TERM_SRCS} \
+ ${DBM_SRCS} \
+ ${DBA_SRCS} \
+ main.c \
+ manpath.c \
+ out.c \
+ tag.c \
+ tree.c
+
+WARNS?= 3
+CFLAGS+= -DHAVE_CONFIG_H
+DPADD= ${LIBZ}
+LDADD= ${LIBZ}
+
+.include <bsd.prog.mk>
Property changes on: trunk/usr.bin/mandoc/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list