archivers/zip doesn't need to USE_GROFF
- mandoc renders the manpages just fine.
gmdiff shows only slight positioning differences (see below),
some of which might interest mandoc developers though.

        Jan



Index: Makefile
===================================================================
RCS file: /cvs/ports/archivers/zip/Makefile,v
retrieving revision 1.39
diff -u -p -u -p -r1.39 Makefile
--- Makefile    10 Mar 2013 22:28:05 -0000      1.39
+++ Makefile    18 Sep 2015 11:23:17 -0000
@@ -5,6 +5,7 @@ COMMENT=        create/update ZIP files compati
 VERSION=       3.0
 DISTNAME=      zip${VERSION:S/.//}
 PKGNAME=       zip-${VERSION}
+REVISION=      1
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=infozip/}
 
@@ -19,7 +20,6 @@ MAKE_FLAGS=   CC="${CC}" CFLAGS_NOOPT="${C
 MAKE_FILE=     unix/Makefile
 ALL_TARGET=    generic
 NO_TEST=       Yes
-USE_GROFF =    Yes
 
 do-install:
 .for prog in zip zipcloak zipnote zipsplit



comments on gmdiff:

In zipcloak.1, zipnote.1 and zipsplit.1,
the `zipfile' argument is way more intented with mandoc:

        -       zipfile  Zipfile to encrypt entries in
        +                    zipfile  Zipfile to encrypt entries in


the source being

        .SH ARGUMENTS
        .in +13
        .ti -13
        zipfile  Zipfile to encrypt entries in

I don't really know roff, but this seems to be "indent +13"
and "temporaraily indent -13", which seems odd in the first place;
anyway, mandoc honors the .in but ignores the .ti, right?
With these two lines deleted, groff and mandoc show the same.

 
Another difference is positioning the start of an .It text
on the same line as the .It head, where groff starts a new line:

                --hh
        -       ----hheellpp
        -              Show a short help.
        +       ----hheellpp Show a short help.
 
The source says

        .B \-\-help\
        Show a short help.

Does mandoc respect the escaped space at end of line, while groff doesn't?
In any case, this difference in rendering is hardly a problem.

The differences in zip.1 are mostly this
and paragraph justification, of course.


Reply via email to