openbsd-ports/textproc/groff/Makefile
schwarze a3bd54ca5a Represent bullets (for example in .Bl -bullet) by "o\bo" instead of "+\bo"
to agree with mandoc(1) and reduce noise in automatic output comparisons.
ok ajacoutot@
2011-07-07 05:27:15 +00:00

34 lines
868 B
Makefile

# $OpenBSD: Makefile,v 1.13 2011/07/07 05:27:15 schwarze Exp $
COMMENT = GNU troff typesetter
DISTNAME = groff-1.21
REVISION = 4
CATEGORIES = textproc
HOMEPAGE = http://www.gnu.org/software/groff/
MAINTAINER = Ingo Schwarze <schwarze@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m stdc++
MASTER_SITES = ${MASTER_SITE_GNU:=groff/}
MAKE_FLAGS += docdir=${PREFIX}/share/doc/groff \
exampledir=${PREFIX}/share/examples/groff
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --without-libiconv-prefix --without-gs --without-x
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC} ${WRKSRC}/src/libs/gnulib/build-aux
pre-configure:
find ${WRKBUILD} -name \*.pl -type f | \
xargs perl -pi -e 's@^#![[:space:]]*/usr/bin/env[[:space:]]+perl@#!/usr/bin/perl@'
.include <bsd.port.mk>