[Midnightbsd-cvs] mports: Mk/docs: cleanup a few typos.
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Wed Nov 12 13:30:50 EST 2008
Log Message:
-----------
cleanup a few typos.
add makefile.
Modified Files:
--------------
mports/Mk/docs:
bsd.mport.mk.pod (r1.5 -> r1.6)
Added Files:
-----------
mports/Mk/docs:
Makefile (r1.1)
-------------- next part --------------
Index: bsd.mport.mk.pod
===================================================================
RCS file: /home/cvs/mports/Mk/docs/bsd.mport.mk.pod,v
retrieving revision 1.5
retrieving revision 1.6
diff -L Mk/docs/bsd.mport.mk.pod -L Mk/docs/bsd.mport.mk.pod -u -r1.5 -r1.6
--- Mk/docs/bsd.mport.mk.pod
+++ Mk/docs/bsd.mport.mk.pod
@@ -1057,15 +1057,8 @@
supports the FreeBSD native one), use the default or the X11 prefix if it's
a leaf port (e.g. a game or program).
-Implies NO_MTREE=yes, and, if INSTALLS_SHLIB is defined:
-
-=over 8
-
-=item USE_LINUX=yes
-
-=item appropriate invocation of the Linux ldconfig
-
-=back
+Implies NO_MTREE=yes, and if INSTALLS_SHLIB is defined then USE_LINUX=yes
+and an appropriate invocation of the Linux ldconfig is also implied.
=item USE_LINUX_RPM
@@ -1778,10 +1771,9 @@
"Application;System;" \
true
-See
-http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
-for an explanation of the fields. If you need to create more than one file,
-just chain them into a single variable.
+See http://standards.freedesktop.org/desktop-entry-spec/ for an explanation
+of the fields. If you need to create more than one file, just chain them
+into a single variable.
=back
--- /dev/null
+++ Mk/docs/Makefile
@@ -0,0 +1,36 @@
+#
+# $MidnightBSD: mports/Mk/docs/Makefile,v 1.1 2008/11/12 18:30:49 ctriv Exp $
+#
+
+#
+# A simple makefile to format our POD into manpages and stick them in src.
+# It's up to you to commit them to cvs after that.
+#
+
+
+POD2MAN= /usr/local/bin/pod2man
+
+.if !exists(${POD2MAN})
+.error "pod2man not found. Perhaps you don't have perl installed?"
+.endif
+
+POD5= bsd.mport.mk.pod
+MAN5= ${POD5:S/.pod/.5/g}
+
+MANS= ${MAN5}
+
+all: ${MANS}
+
+.for SEC in "1 2 3 4 5 6 7 8"
+. if defined(MAN${SEC})
+. for PAGE in ${MAN${SEC}:S/.${SEC}//g}
+${PAGE}.${SEC}: ${PAGE}.pod
+ ${POD2MAN} -c "MidnightBSD File Formats Manual" -n ${PAGE} -s ${SEC} ${PAGE}.pod > ${PAGE}.${SEC}
+. endfor
+. endif
+.endfor
+
+.PHONY: clean
+
+clean:
+ rm -f ${MANS}
\ No newline at end of file
More information about the Midnightbsd-cvs
mailing list