[133945] trunk/dports/textproc/mdocml
khindenburg at macports.org
khindenburg at macports.org
Sun Mar 15 18:06:59 PDT 2015
Revision: 133945
https://trac.macports.org/changeset/133945
Author: khindenburg at macports.org
Date: 2015-03-15 18:06:59 -0700 (Sun, 15 Mar 2015)
Log Message:
-----------
mdocml: update to 1.13.1; add conflicts groff #45484
Modified Paths:
--------------
trunk/dports/textproc/mdocml/Portfile
trunk/dports/textproc/mdocml/files/patch-Makefile.diff
Modified: trunk/dports/textproc/mdocml/Portfile
===================================================================
--- trunk/dports/textproc/mdocml/Portfile 2015-03-16 00:41:51 UTC (rev 133944)
+++ trunk/dports/textproc/mdocml/Portfile 2015-03-16 01:06:59 UTC (rev 133945)
@@ -4,26 +4,27 @@
PortSystem 1.0
name mdocml
-version 1.10.5
+conflicts groff
+version 1.13.1
categories textproc sysutils
license ISC
platforms darwin
maintainers nomaintainer
-description BSD.lv's mldoc - a groff replacement
+description UNIX manpage compiler
-long_description mdocml is a collection of tools for \
- compiling \"-mdoc\", the roff macro package for \
- BSD manual pages. mdocml should deprecate the \
- standard GNU roff for displaying -mdoc pages \
- whereas the original -mdoc tokens are supported.
+long_description mandoc is a suite of tools compiling mdoc, the roff \
+ macro language of choice for BSD manual pages, and man, \
+ the predominant historical language for UNIX manuals.
homepage http://mdocml.bsd.lv/
master_sites ${homepage}snapshots/
-checksums sha1 20a3ef8806b4107841b91816ab638b2cab7b0a3b \
- rmd160 ac1d9736ee67e6f78a382dff1e5ef96f75a45822
+checksums rmd160 f517562dac1d8cdfd3df6b2dbb2e02b175fa25e2 \
+ sha256 7a18e728dc8555b1095bf7edbf086e1d6afb5508c06a7baecfd0b0e448648bf9
+depends_lib port:sqlite3
+
patchfiles patch-Makefile.diff
post-patch {
@@ -36,3 +37,7 @@
build.env CC="${configure.cc}" \
CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Modified: trunk/dports/textproc/mdocml/files/patch-Makefile.diff
===================================================================
--- trunk/dports/textproc/mdocml/files/patch-Makefile.diff 2015-03-16 00:41:51 UTC (rev 133944)
+++ trunk/dports/textproc/mdocml/files/patch-Makefile.diff 2015-03-16 01:06:59 UTC (rev 133945)
@@ -1,24 +1,48 @@
---- Makefile.orig 2010-07-20 09:17:25.000000000 +0200
-+++ Makefile 2010-07-20 09:18:24.000000000 +0200
-@@ -1,10 +1,10 @@
- .SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.txt .3.txt .7.txt .1.sgml .3.sgml .7.sgml .h .h.html .1.ps .3.ps .7.ps
+--- Makefile.orig 2014-08-10 13:26:46.000000000 -0400
++++ Makefile 2014-10-20 01:03:29.000000000 -0400
+@@ -36,11 +36,11 @@
--PREFIX = /usr/local
-+PREFIX = @PREFIX@
- BINDIR = $(PREFIX)/bin
- INCLUDEDIR = $(PREFIX)/include
- LIBDIR = $(PREFIX)/lib
--MANDIR = $(PREFIX)/man
-+MANDIR = $(PREFIX)/share/man
- EXAMPLEDIR = $(PREFIX)/share/examples/mandoc
- INSTALL = install
- INSTALL_PROGRAM = $(INSTALL) -m 0755
-@@ -169,7 +169,7 @@
- mkdir -p $(DESTDIR)$(MANDIR)/man7
- $(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR)
- $(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1
-- $(INSTALL_MAN) man.7 mdoc.7 roff.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
-+ $(INSTALL_MAN) mdoc.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
- $(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR)
+ CFLAGS += -g -DHAVE_CONFIG_H
+ CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
+-PREFIX = /usr/local
++PREFIX = @PREFIX@
+ BINDIR = $(PREFIX)/bin
+ INCLUDEDIR = $(PREFIX)/include/mandoc
+ LIBDIR = $(PREFIX)/lib/mandoc
+-MANDIR = $(PREFIX)/man
++MANDIR = $(PREFIX)/share/man
+ EXAMPLEDIR = $(PREFIX)/share/examples/mandoc
- uninstall:
+ INSTALL = install
+@@ -67,18 +67,18 @@
+ # system that's not OpenBSD or NetBSD. If uncommented, apropos(1)
+ # and makewhatis(8) will use manpath(1) to get the MANPATH variable.
+ #
+-#CFLAGS += -DUSE_MANPATH
++CFLAGS += -DUSE_MANPATH
+
+ # On some systems, SQLite3 may be installed below /usr/local.
+ # In that case, uncomment the following two lines.
+ #
+-#CFLAGS += -I/usr/local/include
+-#DBLIB += -L/usr/local/lib
++CFLAGS += -I$(PREFIX)/include
++DBLIB += -L$(PREFIX)/lib
+
+ # OpenBSD has the ohash functions in libutil.
+ # Comment the following line if your system doesn't.
+ #
+-DBLIB += -lutil
++#DBLIB += -lutil
+
+ SBINDIR = $(PREFIX)/sbin
+
+@@ -97,7 +97,7 @@
+ # If your system does not support static binaries, comment this,
+ # for example on Mac OS X.
+ #
+-STATIC = -static
++#STATIC = -static
+
+ # Linux requires -pthread for statical linking.
+ #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150315/04cf8f16/attachment.html>
More information about the macports-changes
mailing list