schwarze fa5ae68988 Pull in a patch committed upstream:
Make the behaviour of .Bl -tag without -width comprehensible
and the same as in mandoc(1).
No opposition when shown on ports@.
2016-10-17 18:32:34 +00:00

40 lines
978 B
Makefile

# $OpenBSD: Makefile,v 1.31 2016/10/17 18:32:34 schwarze Exp $
COMMENT = GNU troff typesetter
VERSION = 1.22.3
SUBST_VARS = VERSION
DISTNAME = groff-${VERSION}
REVISION = 3
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>