aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-25 17:48:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-25 17:48:31 +0000
commit09d9113fd50e66790fc407a0b21f5e2530c1ac10 (patch)
treeb2c7d3ac7437f567c03f67b790a8d90de538972c /textproc
parent64ed66272f3173b9c0ec31db392905459c974874 (diff)
downloadports-09d9113fd50e66790fc407a0b21f5e2530c1ac10.tar.gz
ports-09d9113fd50e66790fc407a0b21f5e2530c1ac10.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/mdocml/Makefile23
-rw-r--r--textproc/mdocml/distinfo3
-rw-r--r--textproc/mdocml/files/patch-Makefile32
-rw-r--r--textproc/mdocml/files/patch-main.c13
-rw-r--r--textproc/mdocml/pkg-descr4
6 files changed, 76 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 207f6de12fde..841f656562fe 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -332,6 +332,7 @@
SUBDIR += manued.el
SUBDIR += markdown
SUBDIR += mathml-xsd
+ SUBDIR += mdocml
SUBDIR += meld
SUBDIR += metaf2xml
SUBDIR += metauml
diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile
new file mode 100644
index 000000000000..cb10c54b8f73
--- /dev/null
+++ b/textproc/mdocml/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: textproc/mdocml
+# Date created: 09.03.2009
+# Whom: Ulrich Spoerlein <uspoerlein@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mdocml
+PORTVERSION= 1.6.8
+CATEGORIES= textproc
+MASTER_SITES= http://mdocml.bsd.lv/snapshots/ \
+ https://www.spoerlein.net/pub/mdocml/
+
+MAINTAINER= uspoerlein@gmail.com
+COMMENT= Suite of mdoc compilers for BSD man pages
+
+MAN1= mandoc.1
+MAN3= mdoc.3
+MAN7= mdoc.7
+
+PLIST_FILES= bin/mandoc
+
+.include <bsd.port.mk>
diff --git a/textproc/mdocml/distinfo b/textproc/mdocml/distinfo
new file mode 100644
index 000000000000..cd504c426fa6
--- /dev/null
+++ b/textproc/mdocml/distinfo
@@ -0,0 +1,3 @@
+MD5 (mdocml-1.6.8.tar.gz) = 325b18a73f1f6c5e54d6df3043c03f4b
+SHA256 (mdocml-1.6.8.tar.gz) = b85325504386ae3402048f66a78ea991e2d8db62824daffb5ea90ba936219f09
+SIZE (mdocml-1.6.8.tar.gz) = 64481
diff --git a/textproc/mdocml/files/patch-Makefile b/textproc/mdocml/files/patch-Makefile
new file mode 100644
index 000000000000..601fba6373cb
--- /dev/null
+++ b/textproc/mdocml/files/patch-Makefile
@@ -0,0 +1,32 @@
+--- Makefile.orig 2009-03-21 21:21:46.000000000 +0100
++++ Makefile 2009-03-21 21:28:17.000000000 +0100
+@@ -4,7 +4,7 @@
+ INCLUDEDIR = $(PREFIX)/include
+ LIBDIR = $(PREFIX)/lib
+ MANDIR = $(PREFIX)/man
+-INSTALL_PROGRAM = install -m 0755
++INSTALL_PROGRAM = install -m 0755 -s
+ INSTALL_DATA = install -m 0444
+ INSTALL_LIB = install -m 0644
+ INSTALL_MAN = $(INSTALL_DATA)
+@@ -13,7 +13,7 @@
+ VDATE = 21 March 2009
+
+ VFLAGS = -DVERSION=\"$(VERSION)\"
+-CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
++CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter
+ LINTFLAGS += $(VFLAGS)
+ CFLAGS += $(VFLAGS)
+
+@@ -76,9 +76,11 @@
+ install:
+ mkdir -p $(BINDIR)
+ mkdir -p $(MANDIR)/man1
++ mkdir -p $(MANDIR)/man3
+ mkdir -p $(MANDIR)/man7
+ $(INSTALL_PROGRAM) mandoc $(BINDIR)
+ $(INSTALL_MAN) mandoc.1 $(MANDIR)/man1
++ $(INSTALL_MAN) mdoc.3 $(MANDIR)/man3
+ $(INSTALL_MAN) mdoc.7 $(MANDIR)/man7
+
+ uninstall:
diff --git a/textproc/mdocml/files/patch-main.c b/textproc/mdocml/files/patch-main.c
new file mode 100644
index 000000000000..b9ddb4cb8e83
--- /dev/null
+++ b/textproc/mdocml/files/patch-main.c
@@ -0,0 +1,13 @@
+--- main.c.orig 2009-03-21 21:22:52.000000000 +0100
++++ main.c 2009-03-21 21:26:02.000000000 +0100
+@@ -33,6 +33,10 @@
+ # ifndef __dead
+ # define __dead __attribute__((__noreturn__))
+ # endif
++#elif defined(__FreeBSD__)
++# ifndef __dead
++# define __dead __attribute__((__noreturn__))
++# endif
+ #endif
+
+ struct buf {
diff --git a/textproc/mdocml/pkg-descr b/textproc/mdocml/pkg-descr
new file mode 100644
index 000000000000..acb9e84d5743
--- /dev/null
+++ b/textproc/mdocml/pkg-descr
@@ -0,0 +1,4 @@
+The mdocml utilities interface with the mdoc library to compile
+mdoc-roff documents into a variety of output formats.
+
+WWW: http://mdocml.bsd.lv/