schwarze eda4114db6 Two bug fixes, one bump.
1) For man(7), initialize internal numerical registers correctly
such that a stray .RE without a preceding .RS doesn't set the left
margin to column 0.  Reported by bentley@ on discuss at mdocml.
Patch technically approved by Werner Lemberg (upstream).
The only reason it isn't committed upstream yet is that FSF
pesters me to sign a Copyright Assignment contract under
Massachusetts legislature, talking about Warranties and whatnot,
which i resist.

2) Restore correct syntax to the .ie cascade governing section titles
that i broke, trying to be too clever.  Problem reported by
David Levine via pascal@ after the nmh(1) folks added an OpenBSD
machine to their buildbot cluster.

ok pascal@
2013-12-15 15:19:50 +00:00

40 lines
978 B
Makefile

# $OpenBSD: Makefile,v 1.26 2013/12/15 15:19:50 schwarze Exp $
COMMENT = GNU troff typesetter
VERSION = 1.22.2
SUBST_VARS = VERSION
DISTNAME = groff-${VERSION}
REVISION = 4
CATEGORIES = textproc
DPB_PROPERTIES = parallel
HOMEPAGE = https://www.gnu.org/software/groff/
MAINTAINER = Ingo Schwarze <schwarze@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c m stdc++
MASTER_SITES = ${MASTER_SITE_GNU:=groff/}
MAKE_FLAGS += docdir=${PREFIX}/share/doc/groff \
exampledir=${PREFIX}/share/examples/groff \
ac_cv_path_mkdir=/bin/mkdir
MODULES = perl
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --without-libiconv-prefix --without-gs --without-x \
--with-awk=awk \
pnmcrop=missing pnmcut=missing pnmtopng=missing \
pnmtops=missing psselect=missing
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC} ${WRKSRC}/src/libs/gnulib/build-aux
pre-configure:
find ${WRKBUILD} -name \*.pl -type f -print0 | \
xargs -0 ${MODPERL_BIN_ADJ}
.include <bsd.port.mk>