diff options
author | miwi <miwi@FreeBSD.org> | 2009-03-26 01:48:31 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-03-26 01:48:31 +0800 |
commit | dfd61aa3963cdc19f02adb10cdc9735526a2ec87 (patch) | |
tree | 32502b8b55997972257fa7e64be3ecf19b909d60 /textproc/mdocml | |
parent | 2e8d385be2a4b24e787982773c6919ba3bf753ae (diff) | |
download | freebsd-ports-gnome-dfd61aa3963cdc19f02adb10cdc9735526a2ec87.tar.gz freebsd-ports-gnome-dfd61aa3963cdc19f02adb10cdc9735526a2ec87.tar.zst freebsd-ports-gnome-dfd61aa3963cdc19f02adb10cdc9735526a2ec87.zip |
The mdocml utilities interface with the mdoc library to compile
mdoc-roff documents into a variety of output formats.
WWW: http://mdocml.bsd.lv/
PR: ports/132449
Submitted by: Ulrich Spoerlein <uspoerlein at gmail.com>
Diffstat (limited to 'textproc/mdocml')
-rw-r--r-- | textproc/mdocml/Makefile | 23 | ||||
-rw-r--r-- | textproc/mdocml/distinfo | 3 | ||||
-rw-r--r-- | textproc/mdocml/files/patch-Makefile | 32 | ||||
-rw-r--r-- | textproc/mdocml/files/patch-main.c | 13 | ||||
-rw-r--r-- | textproc/mdocml/pkg-descr | 4 |
5 files changed, 75 insertions, 0 deletions
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/ |