Changeset 133945


Ignore:
Timestamp:
Mar 16, 2015, 1:06:59 AM (4 years ago)
Author:
khindenburg@…
Message:

mdocml: update to 1.13.1; add conflicts groff #45484

Location:
trunk/dports/textproc/mdocml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/mdocml/Portfile

    r110988 r133945  
    55
    66name                mdocml
    7 version             1.10.5
     7conflicts           groff
     8version             1.13.1
    89categories          textproc sysutils
    910license             ISC
     
    1112maintainers         nomaintainer
    1213
    13 description         BSD.lv's mldoc - a groff replacement
     14description         UNIX manpage compiler
    1415
    15 long_description    mdocml is a collection of tools for \
    16                     compiling \"-mdoc\", the roff macro package for \
    17                     BSD manual pages. mdocml should deprecate the \
    18                     standard GNU roff for displaying -mdoc pages \
    19                     whereas the original -mdoc tokens are supported.
     16long_description    mandoc is a suite of tools compiling mdoc, the roff \
     17                    macro language of choice for BSD manual pages, and man, \
     18                    the predominant historical language for UNIX manuals.
    2019
    2120homepage            http://mdocml.bsd.lv/
    2221master_sites        ${homepage}snapshots/
    2322
    24 checksums           sha1    20a3ef8806b4107841b91816ab638b2cab7b0a3b \
    25                     rmd160  ac1d9736ee67e6f78a382dff1e5ef96f75a45822
     23checksums           rmd160  f517562dac1d8cdfd3df6b2dbb2e02b175fa25e2 \
     24                    sha256  7a18e728dc8555b1095bf7edbf086e1d6afb5508c06a7baecfd0b0e448648bf9
     25
     26depends_lib         port:sqlite3
    2627
    2728patchfiles          patch-Makefile.diff
     
    3738build.env          CC="${configure.cc}" \
    3839                   CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
     40
     41livecheck.type     regex
     42livecheck.url      ${master_sites}
     43livecheck.regex    ${name}-(\\d+(?:\\.\\d+)*)
  • trunk/dports/textproc/mdocml/files/patch-Makefile.diff

    r71227 r133945  
    1 --- Makefile.orig       2010-07-20 09:17:25.000000000 +0200
    2 +++ Makefile    2010-07-20 09:18:24.000000000 +0200
    3 @@ -1,10 +1,10 @@
    4  .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
     1--- Makefile.orig       2014-08-10 13:26:46.000000000 -0400
     2+++ Makefile    2014-10-20 01:03:29.000000000 -0400
     3@@ -36,11 +36,11 @@
    54 
    6 -PREFIX         = /usr/local
    7 +PREFIX         = @PREFIX@
    8  BINDIR         = $(PREFIX)/bin
    9  INCLUDEDIR     = $(PREFIX)/include
    10  LIBDIR         = $(PREFIX)/lib
    11 -MANDIR         = $(PREFIX)/man
    12 +MANDIR         = $(PREFIX)/share/man
    13  EXAMPLEDIR     = $(PREFIX)/share/examples/mandoc
    14  INSTALL                = install
    15  INSTALL_PROGRAM        = $(INSTALL) -m 0755
    16 @@ -169,7 +169,7 @@
    17         mkdir -p $(DESTDIR)$(MANDIR)/man7
    18         $(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR)
    19         $(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1
    20 -       $(INSTALL_MAN) man.7 mdoc.7 roff.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
    21 +       $(INSTALL_MAN) mdoc.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
    22         $(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR)
     5 CFLAGS         += -g -DHAVE_CONFIG_H
     6 CFLAGS         += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
     7-PREFIX          = /usr/local
     8+PREFIX          = @PREFIX@
     9 BINDIR          = $(PREFIX)/bin
     10 INCLUDEDIR      = $(PREFIX)/include/mandoc
     11 LIBDIR          = $(PREFIX)/lib/mandoc
     12-MANDIR          = $(PREFIX)/man
     13+MANDIR          = $(PREFIX)/share/man
     14 EXAMPLEDIR      = $(PREFIX)/share/examples/mandoc
    2315 
    24  uninstall:
     16 INSTALL                 = install
     17@@ -67,18 +67,18 @@
     18 # system that's not OpenBSD or NetBSD.  If uncommented, apropos(1)
     19 # and makewhatis(8) will use manpath(1) to get the MANPATH variable.
     20 #
     21-#CFLAGS                += -DUSE_MANPATH
     22+CFLAGS         += -DUSE_MANPATH
     23 
     24 # On some systems, SQLite3 may be installed below /usr/local.
     25 # In that case, uncomment the following two lines.
     26 #
     27-#CFLAGS                += -I/usr/local/include
     28-#DBLIB         += -L/usr/local/lib
     29+CFLAGS         += -I$(PREFIX)/include
     30+DBLIB          += -L$(PREFIX)/lib
     31 
     32 # OpenBSD has the ohash functions in libutil.
     33 # Comment the following line if your system doesn't.
     34 #
     35-DBLIB          += -lutil
     36+#DBLIB         += -lutil
     37 
     38 SBINDIR                 = $(PREFIX)/sbin
     39 
     40@@ -97,7 +97,7 @@
     41 # If your system does not support static binaries, comment this,
     42 # for example on Mac OS X.
     43 #
     44-STATIC          = -static
     45+#STATIC                 = -static
     46 
     47 # Linux requires -pthread for statical linking.
     48 #
Note: See TracChangeset for help on using the changeset viewer.